fix(接口定义): 修复禁用复制场景,调试时显示STOP的缺陷

--bug=1016032 --user=赵勇 【接口测试】场景中复制其他场景-禁用复制的场景-调试时显示STOP状态
https://www.tapd.cn/55049933/s/1227881
This commit is contained in:
wxg0103 2022-08-19 16:04:04 +08:00 committed by fit2-zhao
parent c50e360560
commit 26df7e6bc6
1 changed files with 5 additions and 2 deletions

View File

@ -42,7 +42,8 @@
</el-tag>
<span class="ms-tag ms-step-name-api">{{ getProjectName(scenario.projectId) }}</span>
<el-tooltip v-if="(!scenario.hashTree || scenario.hashTree.length === 0) && scenario.referenced==='REF'"
class="ms-num" effect="dark" :content="$t('api_test.scenario.base_scenario_step_is_empty')" placement="top" style="margin-left: 5px">
class="ms-num" effect="dark" :content="$t('api_test.scenario.base_scenario_step_is_empty')"
placement="top" style="margin-left: 5px">
<i class="el-icon-warning"/>
</el-tooltip>
</template>
@ -117,7 +118,9 @@ export default {
},
watch: {
message() {
this.scenario.run = this.message !== "stop";
if (this.message === 'stop') {
this.scenario.run = false;
}
this.reload();
},
'node.data.isBatchProcess'() {