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

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

View File

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