yangg 3 өдөр өмнө
parent
commit
d9259a8dc1

+ 2 - 2
src/views/system/config/components/formContent.vue

@@ -355,12 +355,12 @@ const onSubmit = (formEl: FormInstance | undefined) => {
         }
         // 必填项的验证
         if (['img', 'imgs'].indexOf(item.form_item_type_label) > -1) {
-          for (const arr of item.rule) {
+         /*  for (const arr of item.rule) {
             if (arr.required && item.value === null) {
               errorMessage(item.title + '不能为空');
               return;
             }
-          }
+          } */
         }
       }
     });