fix (测试跟踪): 勾选掉资源池仍执行问题修复

This commit is contained in:
fit2-zhao 2021-08-24 16:50:52 +08:00 committed by fit2-zhao
parent 8704bdec31
commit ed657bf914
2 changed files with 26 additions and 0 deletions

View File

@ -76,6 +76,19 @@ export default {
},
};
},
watch:{
'runConfig.runWithinResourcePool'(){
if(!this.runConfig.runWithinResourcePool){
this.runConfig = {
mode: this.runConfig.mode,
reportType: "iddReport",
reportName: "",
runWithinResourcePool: false,
resourcePoolId: null,
};
}
}
},
methods: {
open() {
this.runModeVisible = true;

View File

@ -86,6 +86,19 @@ export default {
},
};
},
watch:{
'runConfig.runWithinResourcePool'(){
if(!this.runConfig.runWithinResourcePool){
this.runConfig = {
mode: this.runConfig.mode,
reportType: "iddReport",
reportName: "",
runWithinResourcePool: false,
resourcePoolId: null,
};
}
}
},
methods: {
open(testType) {
this.runModeVisible = true;