From daed4bf87ae7c8e68f638b28e96b66879b7a9525 Mon Sep 17 00:00:00 2001 From: betaqi <3188864257@qq.com> Date: Wed, 12 Feb 2025 15:31:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/fileDoc/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/fileDoc/index.vue b/src/pages/fileDoc/index.vue index c46a494..79a01cf 100644 --- a/src/pages/fileDoc/index.vue +++ b/src/pages/fileDoc/index.vue @@ -60,7 +60,7 @@ @@ -223,6 +223,9 @@ const listIcons = useIcon({ icon: 'gravity-ui:layout-list' }) const cardIcons = useIcon({ icon: 'gravity-ui:credit-card' }) const createIcon = useIcon({ icon: 'gravity-ui:plus' }) const listLayout = ref<'card' | 'list'>('card') +watch(listLayout, val => { + menuTarget.value = null +}) const dropdownMenu = computed(() => { if (isRootMd.value) {