refactor(性能测试): 优化创建性能测试时资源池先选中后填写测试名称资源池清空的问题

This commit is contained in:
Captain.B 2021-06-24 16:13:58 +08:00 committed by 刘瑞斌
parent 20721ffdb9
commit bbea83189e
1 changed files with 3 additions and 1 deletions

View File

@ -265,7 +265,9 @@ export default {
},
watch: {
test(n) {
this.resourcePool = n.testResourcePoolId;
if (n.testResourcePoolId) {
this.resourcePool = n.testResourcePoolId;
}
},
testId() {
if (this.testId) {