update 修改tree-select选择器为ele官网选择器
This commit is contained in:
parent
c25842a0e5
commit
c32e3ce2c9
@ -67,11 +67,17 @@
|
|||||||
<el-icon><question-filled /></el-icon>
|
<el-icon><question-filled /></el-icon>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</template>
|
</template>
|
||||||
<tree-select
|
<el-tree-select
|
||||||
v-model:value="infoForm.parentMenuId"
|
v-model="infoForm.parentMenuId"
|
||||||
:options="menuOptions"
|
:data="menuOptions"
|
||||||
:objMap="{ value: 'menuId', label: 'menuName', children: 'children' }"
|
:props="{ value: 'menuId', label: 'menuName', children: 'children' }"
|
||||||
placeholder="请选择系统菜单"
|
value-key="menuId"
|
||||||
|
node-key="menuId"
|
||||||
|
placeholder="选择上级菜单"
|
||||||
|
check-strictly
|
||||||
|
filterable
|
||||||
|
clearable
|
||||||
|
highlight-current
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -270,6 +276,7 @@ const setSubTableColumns = (value: string) => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 查询菜单下拉树结构 */
|
/** 查询菜单下拉树结构 */
|
||||||
const getMenuTreeselect = async () => {
|
const getMenuTreeselect = async () => {
|
||||||
const res = await listMenu();
|
const res = await listMenu();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user