From 29ace6ddb2c07892f623128b8e24a23735b2cc2a Mon Sep 17 00:00:00 2001 From: wangwenrui Date: Fri, 14 Aug 2020 17:24:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=AF=BC=E5=85=A5=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/exportXLSX.vue | 2 ++ nezha-fronted/src/components/common/rightBox/modelBox.vue | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/common/exportXLSX.vue b/nezha-fronted/src/components/common/exportXLSX.vue index c701403dc..cd852742d 100644 --- a/nezha-fronted/src/components/common/exportXLSX.vue +++ b/nezha-fronted/src/components/common/exportXLSX.vue @@ -153,6 +153,8 @@ this.$emit('afterImport') this.importBox.type=3; this.importBox.width='600px'; + }else{ + this.$message.error(response.msg); } }) } diff --git a/nezha-fronted/src/components/common/rightBox/modelBox.vue b/nezha-fronted/src/components/common/rightBox/modelBox.vue index 8be734647..372a78ae7 100644 --- a/nezha-fronted/src/components/common/rightBox/modelBox.vue +++ b/nezha-fronted/src/components/common/rightBox/modelBox.vue @@ -259,7 +259,7 @@ if (response.code === 200) { this.editModel.typeCode=response.data.dictEntity.code; this.$emit("reload"); - this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")}); + // this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")}); resolve(); } else { this.$message.error(response.msg); @@ -296,7 +296,7 @@ if (response.code === 200) { this.editModel.vendorCode=response.data.dictEntity.code; this.$emit("reload"); - this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")}); + // this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")}); resolve(); } else { this.$message.error(response.msg);