fix(UI 自动化): 报告修改UI配置显示后报告显示未生效
--bug=1016169 --user=张大海 【测试计划】关联UI场景用例和功能用例-报告修改UI配置显示后报告显示未生效 https://www.tapd.cn/55049933/s/1236733
This commit is contained in:
parent
fbdffc975c
commit
7474a12661
|
@ -2,7 +2,7 @@
|
|||
<span v-if="config">
|
||||
<div v-for="(item, index) in config" :key="index">
|
||||
<el-checkbox v-model="item.enable" @change="click(item)">{{ item.name }}
|
||||
<test-plan-report-config :config="item.children"/>
|
||||
<test-plan-report-config :config="item.children" :father="config[index]"/>
|
||||
</el-checkbox>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -11,7 +11,7 @@
|
|||
<script>
|
||||
export default {
|
||||
name: "TestPlanReportConfig",
|
||||
props: ['config'],
|
||||
props: ['config', 'father'],
|
||||
methods: {
|
||||
click(item) {
|
||||
if (item.children) {
|
||||
|
@ -23,7 +23,11 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
if (item.enable && this.father) {
|
||||
this.father.enable = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue