mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
fix(系统设置): 测试资源池引用数据较多时展示问题
--bug=1026404 --user=宋昌昌 【系统设置】测试资源池-关闭local资源池-引用接口数据较多-未显示取消和确定按钮-无法关闭 https://www.tapd.cn/55049933/s/1376496
This commit is contained in:
parent
3c9115a2fb
commit
48c6630956
@ -554,7 +554,9 @@ export default {
|
|||||||
if (row.status === 'INVALID') {
|
if (row.status === 'INVALID') {
|
||||||
this.checkHaveTestUsePool(row).then(() => {
|
this.checkHaveTestUsePool(row).then(() => {
|
||||||
if (this.updatePool && this.updatePool.haveTestUsePool) {
|
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'),
|
confirmButtonText: this.$t('commons.confirm'),
|
||||||
cancelButtonText: this.$t('commons.cancel'),
|
cancelButtonText: this.$t('commons.cancel'),
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
|
Loading…
Reference in New Issue
Block a user