From 2ee312d3c399ddc62a06189367fa3879fca7daef Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期五, 10 五月 2024 15:35:24 +0800 Subject: [PATCH] UI展示 --- Source/ProjectWeb/src/store/modules/user.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Source/ProjectWeb/src/store/modules/user.js b/Source/ProjectWeb/src/store/modules/user.js index a5bf964..3b04ff9 100644 --- a/Source/ProjectWeb/src/store/modules/user.js +++ b/Source/ProjectWeb/src/store/modules/user.js @@ -37,7 +37,9 @@ item.pathValue = item.path; item.path = '/' + item.code; item.query = {}; // 鍒濆鍖� item.query - item.query = queryStringToObject(item.pathValue) + if(item.pathValue.indexOf('?')!=-1) { + item.query = queryStringToObject(item.pathValue) + } if (item.children && item.children.length > 0) { updateCode(item.children); } -- Gitblit v1.9.3