From 9d32bc698ab6e3c81ecde515195bc64b6575573b Mon Sep 17 00:00:00 2001 From: CaptainB Date: Mon, 24 Oct 2022 11:35:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=9B=E5=BB=BA=E7=89=88=E6=9C=AC=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E9=87=8D=E5=A4=8D=E6=8A=A5=E9=94=99=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E4=B8=A4=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1018705 --user=刘瑞斌 【项目设置】版本管理-创建版本名称重复时,提示信息重复弹出两条 https://www.tapd.cn/55049933/s/1273861 --- .../src/business/menu/version/MxProjectVersion.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/project-management/frontend/src/business/menu/version/MxProjectVersion.vue b/project-management/frontend/src/business/menu/version/MxProjectVersion.vue index 01850d8462..28afbbec07 100644 --- a/project-management/frontend/src/business/menu/version/MxProjectVersion.vue +++ b/project-management/frontend/src/business/menu/version/MxProjectVersion.vue @@ -312,9 +312,8 @@ export default { }); } } - saveProjectVersion(this.form) + this.createLoading = saveProjectVersion(this.form) .then(resp => { - this.createLoading = false; this.$success(this.$t('commons.save_success')); this.initData(); if (create) { @@ -323,12 +322,7 @@ export default { this.createVisible = false; } }) - .catch(err => { - this.createLoading = false; - this.$error(err.response.data.message); - }); } else { - this.createLoading = false; return false; } });