From 48c6630956f30d6e1dd5bcff07554c39d791da55 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Mon, 29 May 2023 15:04:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=B5=84=E6=BA=90=E6=B1=A0=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=BE=83=E5=A4=9A=E6=97=B6=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1026404 --user=宋昌昌 【系统设置】测试资源池-关闭local资源池-引用接口数据较多-未显示取消和确定按钮-无法关闭 https://www.tapd.cn/55049933/s/1376496 --- .../frontend/src/business/system/pool/TestResourcePool.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system-setting/frontend/src/business/system/pool/TestResourcePool.vue b/system-setting/frontend/src/business/system/pool/TestResourcePool.vue index a7aa9e7202..3cf488a9f8 100644 --- a/system-setting/frontend/src/business/system/pool/TestResourcePool.vue +++ b/system-setting/frontend/src/business/system/pool/TestResourcePool.vue @@ -554,7 +554,9 @@ export default { if (row.status === 'INVALID') { this.checkHaveTestUsePool(row).then(() => { if (this.updatePool && this.updatePool.haveTestUsePool) { - this.$confirm(this.$t('test_resource_pool.update_prompt', [this.updatePool.testName]), this.$t('commons.prompt'), { + let testIndex = this.updatePool.testName.indexOf(";") + let subPrompt = this.updatePool.testName.substring(0, testIndex); + this.$confirm(this.$t('test_resource_pool.update_prompt', [subPrompt]), this.$t('commons.prompt'), { confirmButtonText: this.$t('commons.confirm'), cancelButtonText: this.$t('commons.cancel'), type: 'warning'