소스 검색

添加错误提示

Lijy 2 년 전
부모
커밋
5ea0b71ba6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/index.vue

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet_h5/src/views/edit/index.vue

@@ -1109,7 +1109,7 @@ import timetoolVue from '../timetool/timetool.vue';
                         this.totalReportHours = res.data
                     } else {
                         this.$toast.clear();
-                        this.$toast.fail('获取失败');
+                        this.$toast.fail(res.msg);
                     }
                 }).catch(err=> {this.$toast.clear();});
             },