소스 검색

类型修复

刘洋 1 년 전
부모
커밋
26979f5b15
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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(