liyongli 1 天之前
父节点
当前提交
5f8df06b03
共有 2 个文件被更改,包括 2 次插入8 次删除
  1. 1 4
      src/view/fenghui/form1Recurrence.vue
  2. 1 4
      src/view/fenghui/formRecurrence.vue

+ 1 - 4
src/view/fenghui/form1Recurrence.vue

@@ -511,10 +511,7 @@ const initFormData = () => {
     if (!formData.active2) {
         formData.active2 = []
     }
-    const isactive2 = subData.active2 === '是'
-    const isactive3 = subData.active3 === '是'
-    const isactive7 = subData.active7 === '是'
-    if(!isactive2 && !isactive3 && !isactive7 ) selectunde.value = true;
+    if(!activitiesAttended.value.length) selectunde.value = true;
     for (let i = 0; i < keys.length; i++) {
         const key = keys[i];
         if (key === 'photo') {

+ 1 - 4
src/view/fenghui/formRecurrence.vue

@@ -533,10 +533,7 @@ const initFormData = () => {
     if (!formData.active2) {
         formData.active2 = []
     }
-    const isactive2 = subData.active2 === '是'
-    const isactive3 = subData.active3 === '是'
-    const isactive7 = subData.active7 === '是'
-    if(!isactive2 && !isactive3 && !isactive7 ) selectunde.value = true;
+    if(!activitiesAttended.value.length) selectunde.value = true;
     for (let i = 0; i < keys.length; i++) {
         const key = keys[i];
         if (key === 'photo') {