Browse Source

类型修复

刘洋 1 year ago
parent
commit
26979f5b15
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/admin-data/marking/index.vue

+ 1 - 1
src/modules/admin-data/marking/index.vue

@@ -164,7 +164,7 @@ const rules: EpFormRules = {
     { required: true, message: '请完善按天分配值' },
     {
       validator: (rule: any, value: any, callback: any) => {
-        if (!model.dayWeight.every((v) => !!v)) {
+        if (!model.dayWeight.every((v: any) => !!v)) {
           callback(new Error('每日分配的数值不能为空或者0'))
         } else if (
           Number(