fix: 测试用例更多操作按钮 (#2187)
Co-authored-by: chenjianxing <jianxing.chen@fit2cloud.com>
This commit is contained in:
parent
bee475235a
commit
c6a09e3751
|
@ -20,6 +20,10 @@
|
|||
:label="'名称'"
|
||||
:fields="fields"
|
||||
prop="name">
|
||||
<template v-slot="scope">
|
||||
<span v-if="scope.row.system">{{ scope.row.name }}(默认模板)</span>
|
||||
<span v-else>{{ scope.row.name }}</span>
|
||||
</template>
|
||||
</ms-table-column>
|
||||
|
||||
<ms-table-column
|
||||
|
|
|
@ -20,6 +20,10 @@
|
|||
:label="'名称'"
|
||||
:fields="fields"
|
||||
prop="name">
|
||||
<template v-slot="scope">
|
||||
<span v-if="scope.row.system">{{ scope.row.name }}(默认模板)</span>
|
||||
<span v-else>{{ scope.row.name }}</span>
|
||||
</template>
|
||||
</ms-table-column>
|
||||
|
||||
<ms-table-column
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
@setTreeNodes="setTreeNodes"
|
||||
@exportTestCase="exportTestCase"
|
||||
@saveAsEdit="editTestCase"
|
||||
:show-operator="true"
|
||||
@createCase="handleCaseSimpleCreate($event, 'add')"
|
||||
@refreshAll="refreshAll"
|
||||
:type="'edit'"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
ref="nodeTree">
|
||||
<template v-slot:header>
|
||||
<ms-search-bar
|
||||
:show-operator="showOperator"
|
||||
:condition="condition"
|
||||
:commands="operators"/>
|
||||
</template>
|
||||
|
@ -76,6 +77,7 @@ export default {
|
|||
type: String,
|
||||
default: "view"
|
||||
},
|
||||
showOperator: Boolean,
|
||||
},
|
||||
watch: {
|
||||
treeNodes() {
|
||||
|
|
Loading…
Reference in New Issue