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 6db72d197a
commit 7eb1726940
1 changed files with 1 additions and 1 deletions

View File

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