diff --git a/src/views/auth/menu/menu.vue b/src/views/auth/menu/menu.vue index 84583bd..ed7b10f 100644 --- a/src/views/auth/menu/menu.vue +++ b/src/views/auth/menu/menu.vue @@ -12,10 +12,7 @@ /> 新增 - +
@@ -116,7 +113,7 @@ provide('tableStore', tableStore) const addMenu = () => { console.log(popupRef) - popupRef.value.open('新增菜单',{}) + popupRef.value.open('新增菜单', {}) } const currentChange = (newValue: any) => { emits('select', newValue.row.id) @@ -127,10 +124,6 @@ const search = () => { nextTick(() => { tableStore.table.ref?.setAllTreeExpand(true) }) - } else { - nextTick(() => { - tableStore.table.ref?.setAllTreeExpand(false) - }) } }