Browse Source

fix(workPage/setPhoto): 修正照片设置组件的类型判断条件

将原有的类型15判断调整为类型79,匹配当前业务逻辑
lsc 1 day ago
parent
commit
8fdc045fbf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/pages/workPage/components/setPhoto.vue

+ 1 - 1
src/components/pages/workPage/components/setPhoto.vue

@@ -64,7 +64,7 @@ export default {
   watch: {
     workData: {
       handler(newVal, oldVal) {
-        if (newVal.type == 15) {
+        if (newVal.type == 79) {
           if (JSON.stringify(newVal.json) != JSON.stringify(this.jsonData)) {
             let _data = JSON.parse(JSON.stringify(newVal.json))