fix: 🐛 打包eslint报错问题修复

Former-commit-id: 2e30725eb36c20a00ff043843d4ad2117212c8e0
This commit is contained in:
hxr
2023-08-09 08:18:48 +08:00
parent 27cd89f3d4
commit 81c06c3d92
3 changed files with 8 additions and 7 deletions

View File

@@ -93,7 +93,7 @@ function onRowClick(row: MenuVO) {
function openDialog(parentId?: number, menuId?: number) {
listMenuOptions()
.then(({ data }) => {
menuOptions.value = [{ value: "0", label: "顶级菜单", children: data }];
menuOptions.value = [{ value: 0, label: "顶级菜单", children: data }];
})
.then(() => {
dialog.visible = true;