正在显示
1 个修改的文件
包含
5 行增加
和
0 行删除
@@ -806,6 +806,9 @@ | @@ -806,6 +806,9 @@ | ||
806 | }, | 806 | }, |
807 | getList() { | 807 | getList() { |
808 | const _this = this | 808 | const _this = this |
809 | + let ld = this.$loading({ | ||
810 | + text:"获取数据中..." | ||
811 | + }) | ||
809 | selectNewInventroys(this.queryInfo).then((response) => { | 812 | selectNewInventroys(this.queryInfo).then((response) => { |
810 | const res = response.data | 813 | const res = response.data |
811 | console.log(response.data) | 814 | console.log(response.data) |
@@ -822,6 +825,8 @@ | @@ -822,6 +825,8 @@ | ||
822 | }).catch(error => { | 825 | }).catch(error => { |
823 | // 关闭加载 | 826 | // 关闭加载 |
824 | _this.$message.error(error.toString()) | 827 | _this.$message.error(error.toString()) |
828 | + }).finally(()=>{ | ||
829 | + ld.close() | ||
825 | }) | 830 | }) |
826 | }, | 831 | }, |
827 | // 添加对话框,打开事件 | 832 | // 添加对话框,打开事件 |
-
请 注册 或 登录 后发表评论