fix(接口测试): 修复事物控制器复选框初次添加时无法点击问题

--bug=1013091 --user=赵勇 【接口测试】github#13429,接口测试-场景自动化,事务控制器的两个勾选框,点击后没有反应 https://www.tapd.cn/55049933/s/1156408
This commit is contained in:
fit2-zhao 2022-05-12 10:08:03 +08:00 committed by f2c-ci-robot[bot]
parent b2064a646e
commit f5f408cef6
2 changed files with 5 additions and 2 deletions

View File

@ -69,10 +69,10 @@ export default {
},
},
created() {
if (this.controller.generateParentSample == null) {
if (!this.controller.generateParentSample) {
this.controller.generateParentSample = true;
}
if (this.controller.includeTimers == null) {
if (!this.controller.includeTimers) {
this.controller.includeTimers = true;
}
},

View File

@ -1131,6 +1131,9 @@ export class TransactionController extends Controller {
this.type = "TransactionController";
this.name;
this.hashTree = [];
this.generateParentSample =true;
this.includeTimers = true;
this.set(options);
}