From 1c7271ce123e36f0d400aa1b2aee0efe56540f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=B0=8F=E7=8E=8B=E5=AD=90?= Date: Tue, 5 Mar 2024 14:54:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9D=E8=B5=96=E5=8D=87=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ package.json | 1 + src/layout/components/Sidebar/index.vue | 2 +- src/views/system/user/profile/index.vue | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1fd56f0..ad88738 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,8 @@ package-lock.json yarn.lock pnpm-lock.yaml +*开发日志.txt + # 编译生成的文件 auto-imports.d.ts components.d.ts diff --git a/package.json b/package.json index 85ac240..e08d576 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,7 @@ "@unocss/preset-icons": "0.58.3", "@unocss/preset-uno": "0.58.3", "@vue/compiler-sfc": "3.4.13", + "@vue/runtime-core": "3.4.13", "@vitejs/plugin-vue": "5.0.3", "autoprefixer": "10.4.16", "eslint": "8.56.0", diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index a4f20d0..3fd5593 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -13,7 +13,7 @@ :collapse-transition="false" mode="vertical" > - + diff --git a/src/views/system/user/profile/index.vue b/src/views/system/user/profile/index.vue index 0c8b527..ae8fa0f 100644 --- a/src/views/system/user/profile/index.vue +++ b/src/views/system/user/profile/index.vue @@ -27,7 +27,7 @@
  • 所属部门 -
    {{ state.user.deptName }} / {{ state.postGroup }}
    +
    {{ state.user.dept?.deptName }} / {{ state.postGroup }}
  • 所属角色