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 }}
  • 所属角色