From c2735a870182e3d870345e09b3de52c852975e7a Mon Sep 17 00:00:00 2001 From: 严智鑫 <test> Date: 星期三, 18 九月 2024 15:47:56 +0800 Subject: [PATCH] 页面路由添加 --- UI-Project/src/layout/MainErpView.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/UI-Project/src/layout/MainErpView.vue b/UI-Project/src/layout/MainErpView.vue index 2d71852..0d5ae54 100644 --- a/UI-Project/src/layout/MainErpView.vue +++ b/UI-Project/src/layout/MainErpView.vue @@ -34,7 +34,9 @@ onMounted(() => { const storedData = localStorage.getItem('userData'); if (storedData) { - userData.value = JSON.parse(storedData); + userData.value = JSON.parse(storedData); + console.log(111); // 鎵撳嵃 menus 鏁扮粍 + console.log(userData.value); // 鎵撳嵃 menus 鏁扮粍 } else { console.log('No data found in localStorage.'); } -- Gitblit v1.8.0