From 25fcd0d671c6845c0e05ca24f448cdf0b0b1aecf Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Fri, 17 Feb 2023 15:49:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../datie_02/menus/dialog/applyOrAgreeModeCovert.vue | 8 ++++---- src/jmapNew/theme/datie_02/menus/dialog/statusSelect.vue | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/jmapNew/theme/datie_02/menus/dialog/applyOrAgreeModeCovert.vue b/src/jmapNew/theme/datie_02/menus/dialog/applyOrAgreeModeCovert.vue index 019b54cd9..9caf08f28 100644 --- a/src/jmapNew/theme/datie_02/menus/dialog/applyOrAgreeModeCovert.vue +++ b/src/jmapNew/theme/datie_02/menus/dialog/applyOrAgreeModeCovert.vue @@ -244,10 +244,10 @@ export default { this.doClose(); this.$store.commit('socket/clearOperationModeApplyList', JSON.parse(JSON.stringify(this.tableData))); } - }).catch(() => { + }).catch((err) => { this.loading = false; this.doClose(); - this.$refs.noticeInfo.doShow(); + this.$refs.noticeInfo.doShow(err.message); }); } else { const list = []; @@ -275,10 +275,10 @@ export default { this.loading = false; this.doClose(); } - }).catch(() => { + }).catch((err) => { this.loading = false; this.doClose(); - this.$refs.noticeInfo.doShow(); + this.$refs.noticeInfo.doShow(err.message); }); } } diff --git a/src/jmapNew/theme/datie_02/menus/dialog/statusSelect.vue b/src/jmapNew/theme/datie_02/menus/dialog/statusSelect.vue index 524ceec89..8330e5e5a 100644 --- a/src/jmapNew/theme/datie_02/menus/dialog/statusSelect.vue +++ b/src/jmapNew/theme/datie_02/menus/dialog/statusSelect.vue @@ -211,10 +211,10 @@ export default { this.loading = false; this.doClose(); } - }).catch(() => { + }).catch((err) => { this.loading = false; this.doClose(); - this.$refs.noticeInfo.doShow(); + this.$refs.noticeInfo.doShow(err.message); }); } },