From ed6c6350015d52ea1cb033c7558f72b721ece84a Mon Sep 17 00:00:00 2001 From: WangHan <wwh_work@126,com> Date: 星期四, 19 十二月 2024 19:58:55 +0800 Subject: [PATCH] 打包名称修改,去除错误输出 --- admin-web/src/views/foundation/classification/edit.vue | 4 ---- admin-web/src/views/foundation/material/edit.vue | 10 ++-------- admin-web/vue.config.js | 2 +- admin-web/src/views/foundation/classification/index.vue | 7 +------ 4 files changed, 4 insertions(+), 19 deletions(-) diff --git a/admin-web/src/views/foundation/classification/edit.vue b/admin-web/src/views/foundation/classification/edit.vue index 8c838b0..12a5d82 100644 --- a/admin-web/src/views/foundation/classification/edit.vue +++ b/admin-web/src/views/foundation/classification/edit.vue @@ -140,10 +140,6 @@ this.close(); this.$emit('search'); }) - .catch((err) => { - this.$message.warning(err.msg); - this.loading = false - }); } } else { this.$message.error('鏍¢獙鏈�氳繃锛岃妫�鏌ャ��'); diff --git a/admin-web/src/views/foundation/classification/index.vue b/admin-web/src/views/foundation/classification/index.vue index 3fe0c65..f6acf85 100644 --- a/admin-web/src/views/foundation/classification/index.vue +++ b/admin-web/src/views/foundation/classification/index.vue @@ -229,9 +229,7 @@ vm.$modal.msgSuccess(text + '鎴愬姛'); vm.search(); } - }).catch((err) => { - vm.$message.warning(err.msg); - }); + }) }); }, del(row) { @@ -242,9 +240,6 @@ that.$message.success('鍒犻櫎鎴愬姛锛�'); that.refreshData(); }) - .catch((err) => { - that.$message.warning(err.msg); - }); }); }, showAdd() { diff --git a/admin-web/src/views/foundation/material/edit.vue b/admin-web/src/views/foundation/material/edit.vue index 6485d85..7ea95fd 100644 --- a/admin-web/src/views/foundation/material/edit.vue +++ b/admin-web/src/views/foundation/material/edit.vue @@ -160,10 +160,7 @@ } else { this.$message.error('淇濆瓨澶辫触') } - }).catch((err) => { - this.$message.warning(err.msg) - this.loading = false - }); + }) } else { params.orgId = this.setting.orgId addGoods(params).then(res => { @@ -175,10 +172,7 @@ } else { this.$message.error('淇濆瓨澶辫触') } - }).catch(() => { - this.$message.warning(err.msg) - this.loading = false - }); + }) } } else { this.$message.error('鏍¢獙鏈�氳繃锛岃妫�鏌ャ��') diff --git a/admin-web/vue.config.js b/admin-web/vue.config.js index 4f2b078..9676e50 100644 --- a/admin-web/vue.config.js +++ b/admin-web/vue.config.js @@ -27,7 +27,7 @@ transpileDependencies: ['element-ui', 'vuex', 'js-cookie', '@babel', 'resize-detector'], publicPath: './', // publicPath: '/', - outputDir: 'lowConsumWeb', + outputDir: 'lowconsum', assetsDir: 'static', lintOnSave: process.env.NODE_ENV === 'development', productionSourceMap: false, -- Gitblit v1.9.1