fix(接口测试): 接口测试报告步骤列表-修复切换卡片内部响应信息tab导致卡片重新展开折叠
--bug=1027494 --user=白奇 【任务中心】接口测试任务-点击切换任务查看报告-报告未切换显示 https://www.tapd.cn/55049933/s/1391137
This commit is contained in:
parent
c2f237a1bf
commit
1c73fe6b32
|
@ -8,10 +8,10 @@
|
|||
<i class="el-icon-remove-outline ms-open-btn" size="mini" @click="closeExpansion" />
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div style="height: calc(100vh - 400px);">
|
||||
<div style="height: calc(100vh - 400px)">
|
||||
<vue-easy-tree
|
||||
:data="treeData"
|
||||
node-key="id"
|
||||
node-key="resourceId"
|
||||
:sizeDependencies="['expanded']"
|
||||
height="calc(100vh - 400px)"
|
||||
:minItemSize="47"
|
||||
|
@ -22,9 +22,7 @@
|
|||
highlight-current
|
||||
class="ms-tree ms-report-tree"
|
||||
isDynamic
|
||||
ref="resultsTree"
|
||||
@node-click="nodeClick"
|
||||
>
|
||||
ref="resultsTree">
|
||||
<template slot-scope="{ node, data }">
|
||||
<ms-scenario-result
|
||||
:key="data.resourceId"
|
||||
|
@ -59,8 +57,7 @@ export default {
|
|||
shareId: String,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
};
|
||||
return {};
|
||||
},
|
||||
created() {
|
||||
if (this.$refs.resultsTree && this.$refs.resultsTree.root) {
|
||||
|
|
Loading…
Reference in New Issue