浏览代码

添加错误提示

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