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);