From 489d4e2e53e81f92ca1e9c83f6e50df170089e8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=B2=E4=B9=88=E4=BA=86?= Date: Fri, 19 Jan 2024 14:14:45 +0800 Subject: [PATCH] menu --- src/views/auth/menu/menu.vue | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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) - }) } }