fix(接口测试): 修复单场景步骤调试停止按钮未同步更新问题

--bug=1020048 --user=赵勇 【接口测试】场景A导入一个复制/引用的场景B,单独调试场景B,“停止”按钮不更新 https://www.tapd.cn/55049933/s/1300956
This commit is contained in:
fit2-zhao 2022-11-22 14:22:58 +08:00 committed by fit2-zhao
parent 71e43e4341
commit 38bf59c80b
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ export default {
},
watch: {
message() {
if (this.message === 'STOPPED') {
if (['STOPPED', 'STOP'].includes(this.message.toUpperCase())) {
this.scenario.run = false;
}
this.reload();