fix(项目设置): 性能测试脚本审核人为空的情况下不能开启开关

性能测试脚本审核人为空的情况下不能开启开关
This commit is contained in:
song-tianyang 2023-05-19 16:01:39 +08:00 committed by 建国
parent b1e6d1a721
commit 82ba657d9a
2 changed files with 3 additions and 1 deletions

View File

@ -928,7 +928,8 @@ export default {
} }
}); });
if (!isExist) { if (!isExist) {
this.$set(this.config, "performanceScriptReviewer", ""); this.$set(this.config, "performanceScriptReviewer", null);
this.$set(this.config, "performanceReviewLoadTestScript", false);
} }
}); });
}, },

View File

@ -39,6 +39,7 @@
</template> </template>
<template #append> <template #append>
<el-switch <el-switch
:disabled="!reviewerSelect || reviewerSelect===''"
v-model="reviewerSwitchSelect" v-model="reviewerSwitchSelect"
@change="switchChange" @change="switchChange"
></el-switch> ></el-switch>