Explorar el Código

添加错误提示

Lijy hace 2 años
padre
commit
5ea0b71ba6

+ 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();});
             },