修改文档拆分--查看--左侧目录--编辑

This commit is contained in:
范强强
2024-03-07 10:02:59 +08:00
parent 6e5e3fa21e
commit 0165733a48
2 changed files with 8 additions and 6 deletions
@@ -20,12 +20,12 @@
<a-icon class="parent-node-icon"
type="folder"
v-if="record.dataRef.children && record.dataRef.children.length > 0" />
<a-tooltip>
<template #title>
{{ record.name }}{{ record.itemName }}
</template>
<span class="tree-node-custom-title">{{ record.name }} {{ record.itemName }}</span>
</a-tooltip>
<!-- <a-tooltip arrowPointAtCenter placement="topLeft">-->
<!-- <template #title>-->
<!-- {{ record.name }}{{ record.itemName }}-->
<!-- </template>-->
<span class="tree-node-custom-title" :title="record.name + record.itemName">{{ record.name }} {{ record.itemName }}</span>
<!-- </a-tooltip>-->
<div class="tree-operate-node-btn-box"
:class="{'tree-operate-node-btn-box-hide': record.id !== mouseInNodeKey}">
<!--新增-->
@@ -76,6 +76,7 @@ export default {
add (nodeItem, infoId) {
this.title = this.$t('add')
this.form = {}
this.form = { ...this.form }
this.visible = true
this.nodeItem = nodeItem
this.infoId = infoId
@@ -88,6 +89,7 @@ export default {
this.form.name = nodeItem.name
this.form.itemName = nodeItem.itemName
this.form.displaySeq = nodeItem.displaySeq
this.form = { ...this.form }
this.infoId = infoId
this.visible = true
},