From 60a6ff7e1bc2e21b4b6297b175bc81e24715f635 Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Mon, 21 Mar 2022 17:42:12 +0800 Subject: [PATCH] reset mode --- src/store/modules/dashboard.ts | 2 +- src/views/dashboard/List.vue | 25 +++++++++++++++++++++---- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/src/store/modules/dashboard.ts b/src/store/modules/dashboard.ts index c77af644..6e7d33a0 100644 --- a/src/store/modules/dashboard.ts +++ b/src/store/modules/dashboard.ts @@ -59,7 +59,7 @@ export const dashboardStore = defineStore({ currentTabItems: [], dashboards: [], currentDashboard: null, - editMode: true, + editMode: false, }), actions: { setLayout(data: LayoutConfig[]) { diff --git a/src/views/dashboard/List.vue b/src/views/dashboard/List.vue index df462af2..f767b2b9 100644 --- a/src/views/dashboard/List.vue +++ b/src/views/dashboard/List.vue @@ -44,7 +44,11 @@ limitations under the License. --> @selection-change="handleSelectionChange" > - + + + @@ -56,10 +60,10 @@ limitations under the License. -->