菜单管理支持拖拽排序

This commit is contained in:
sc 2021-06-22 15:49:25 +08:00
parent 1f188ee51d
commit aeb12ba7c6
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<el-input placeholder="输入关键字进行过滤" v-model="menuFilterText" clearable></el-input>
</el-header>
<el-main class="nopadding">
<el-tree ref="menu" class="menu" node-key="name" :data="menuList" :props="menuProps" highlight-current :expand-on-click-node="false" check-strictly show-checkbox :filter-node-method="menuFilterNode" @node-click="menuClick">
<el-tree ref="menu" class="menu" node-key="name" :data="menuList" :props="menuProps" draggable highlight-current :expand-on-click-node="false" check-strictly show-checkbox :filter-node-method="menuFilterNode" @node-click="menuClick">
<template #default="{node, data}">
<span class="custom-tree-node">