修改样式

This commit is contained in:
Next
2022-07-17 17:36:49 +08:00
parent 6025cfd347
commit 6996762b68
7 changed files with 34 additions and 47 deletions

View File

@@ -11,8 +11,6 @@ let showTree = ref(false);
<TreePanel :show="showTree"></TreePanel>
</vue-final-modal>
<el-button size="small" @click="showTree = !showTree">节点树</el-button>
<el-button size="small" @click="showTree = !showTree">自定义监听</el-button>
<el-button size="small" @click="showTree = !showTree">设置</el-button>
</div>
</template>

View File

@@ -2,7 +2,7 @@
<div style="width: 100%;height: 30px;background-color: #26282f;display: flex;align-items: center;justify-content: center;color: white;" class="modal-drag">
节点树
</div>
<div style="width: 100%;overflow: auto;" :style="{ height: treeViewHeight }">
<div style="width: 100%;overflow: auto;" :style="{ height: treeViewHeight + 10 }">
<el-tree-v2 ref="treeView" :props="defaultProps" empty-text="正在加载场景" :highlight-current="true"
:expand-on-click-node="false" :default-expanded-keys="expandedKeys" @current-change="handleCurrentNodeChange"
@node-expand="handleNodeExpand" @node-collapse="handleNodeCollapse" :height="treeViewHeight">