fix: 🐛 eslint 报错问题修复

Former-commit-id: f97fd0d877d15983a46e1eea254d7129703567ea
This commit is contained in:
hxr committed 2023-08-08 01:31:09 +08:00
1 parent d5669d18f6
commit af5adf01f7
3 files changed
+5 -5

No files matched your search

+1 -1
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;