deason 6 năm trước cách đây
mục cha
commit
206108c33d
1 tập tin đã thay đổi với 2 bổ sung13 xóa
  1. 2 13
      src/modules/print/view/ProjectStatistic.vue

+ 2 - 13
src/modules/print/view/ProjectStatistic.vue

@@ -389,7 +389,7 @@ export default {
         alonePkgPercent: "",
         alonePkgMax: "",
         alonePkgMin: "",
-        groupType: ""
+        groupType: null
       },
       otherSettingDialog: false,
       otherSettingForm: {
@@ -630,17 +630,6 @@ export default {
           return false;
         }
 
-        if (
-          !this.backupSettingForm.needEachPkg &&
-          !this.backupSettingForm.needAlonePkg
-        ) {
-          this.$notify({
-            message: "请至少设置一种备份方式!",
-            type: "warning"
-          });
-          return;
-        }
-
         let url = PRINT_API + "/project/backup/setting/save";
         this.$http.post(url, this.backupSettingForm).then(
           () => {
@@ -678,7 +667,7 @@ export default {
             alonePkgPercent: "",
             alonePkgMax: "",
             alonePkgMin: "",
-            groupType: ""
+            groupType: null
           };
         }
       );