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" />
|
<i class="el-icon-remove-outline ms-open-btn" size="mini" @click="closeExpansion" />
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: calc(100vh - 400px);">
|
<div style="height: calc(100vh - 400px)">
|
||||||
<vue-easy-tree
|
<vue-easy-tree
|
||||||
:data="treeData"
|
:data="treeData"
|
||||||
node-key="id"
|
node-key="resourceId"
|
||||||
:sizeDependencies="['expanded']"
|
:sizeDependencies="['expanded']"
|
||||||
height="calc(100vh - 400px)"
|
height="calc(100vh - 400px)"
|
||||||
:minItemSize="47"
|
:minItemSize="47"
|
||||||
|
@ -22,20 +22,18 @@
|
||||||
highlight-current
|
highlight-current
|
||||||
class="ms-tree ms-report-tree"
|
class="ms-tree ms-report-tree"
|
||||||
isDynamic
|
isDynamic
|
||||||
ref="resultsTree"
|
ref="resultsTree">
|
||||||
@node-click="nodeClick"
|
<template slot-scope="{ node, data }">
|
||||||
>
|
<ms-scenario-result
|
||||||
<template slot-scope="{ node, data }">
|
:key="data.resourceId"
|
||||||
<ms-scenario-result
|
:node="data"
|
||||||
:key="data.resourceId"
|
:expanded="node.expanded"
|
||||||
:node="data"
|
:console="console"
|
||||||
:expanded="node.expanded"
|
v-on:requestResult="requestResult"
|
||||||
:console="console"
|
:is-share="isShare"
|
||||||
v-on:requestResult="requestResult"
|
:share-id="shareId" />
|
||||||
:is-share="isShare"
|
</template>
|
||||||
:share-id="shareId" />
|
</vue-easy-tree>
|
||||||
</template>
|
|
||||||
</vue-easy-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</template>
|
</template>
|
||||||
|
@ -59,8 +57,7 @@ export default {
|
||||||
shareId: String,
|
shareId: String,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {};
|
||||||
};
|
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
if (this.$refs.resultsTree && this.$refs.resultsTree.root) {
|
if (this.$refs.resultsTree && this.$refs.resultsTree.root) {
|
||||||
|
|
Loading…
Reference in New Issue