From 9b47dd4a678e0afa46c8b7dd630dfa78483c1784 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 25 Jan 2023 12:25:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?b4bdd4f=EF=BC=9A=E5=BC=80=E5=90=AFTopNav?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=AD=90=E8=8F=9C=E5=8D=95=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E4=BE=A7=E8=BE=B9=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/src/components/TopNav/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/yudao-ui-admin/src/components/TopNav/index.vue b/yudao-ui-admin/src/components/TopNav/index.vue index 98c4afe84..02ca003d2 100644 --- a/yudao-ui-admin/src/components/TopNav/index.vue +++ b/yudao-ui-admin/src/components/TopNav/index.vue @@ -133,7 +133,9 @@ export default { } else { // 显示左侧联动菜单 this.activeRoutes(key); - this.$store.dispatch('app/toggleSideBarHide', false); + if (!this.$route.meta.link) { + this.$store.dispatch('app/toggleSideBarHide', false); + } } }, // 当前激活的路由 @@ -149,7 +151,7 @@ export default { if(routes.length > 0) { this.$store.commit("SET_SIDEBAR_ROUTERS", routes); } else { - this.$store.dispatch("app/toggleSideBarHide", true); + this.$store.dispatch('app/toggleSideBarHide', true); } }, ishttp(url) { From e9814b129bf46c79e727a10c1bd6b45449a2824a Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 25 Jan 2023 12:32:54 +0800 Subject: [PATCH 2/2] =?UTF-8?q?492919d=EF=BC=9A=E5=8D=87=E7=BA=A7element-u?= =?UTF-8?q?i=E5=88=B0=E6=9C=80=E6=96=B0=E7=89=88=E6=9C=AC2.15.12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/package.json | 2 +- yudao-ui-admin/src/views/system/user/index.vue | 6 +++--- yudao-ui-admin/yarn.lock | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/yudao-ui-admin/package.json b/yudao-ui-admin/package.json index c16997fc0..738ac509f 100644 --- a/yudao-ui-admin/package.json +++ b/yudao-ui-admin/package.json @@ -49,7 +49,7 @@ "core-js": "^3.26.0", "crypto-js": "^4.0.0", "echarts": "5.4.0", - "element-ui": "2.15.10", + "element-ui": "2.15.12", "file-saver": "2.0.5", "fuse.js": "6.6.2", "highlight.js": "9.18.5", diff --git a/yudao-ui-admin/src/views/system/user/index.vue b/yudao-ui-admin/src/views/system/user/index.vue index 064f0bcf1..5c3bb1655 100644 --- a/yudao-ui-admin/src/views/system/user/index.vue +++ b/yudao-ui-admin/src/views/system/user/index.vue @@ -364,9 +364,9 @@ export default { created() { this.getList(); this.getTreeselect(); - this.getConfigKey("sys.user.init-password").then(response => { - this.initPassword = response.msg; - }); + // this.getConfigKey("sys.user.init-password").then(response => { + // this.initPassword = response.msg; + // }); }, methods: { // 更多操作 diff --git a/yudao-ui-admin/yarn.lock b/yudao-ui-admin/yarn.lock index 73a3fce0f..0293cba48 100644 --- a/yudao-ui-admin/yarn.lock +++ b/yudao-ui-admin/yarn.lock @@ -3999,10 +3999,10 @@ electron-to-chromium@^1.4.251: resolved "https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz" integrity sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA== -element-ui@2.15.10: - version "2.15.10" - resolved "https://registry.npmmirror.com/element-ui/-/element-ui-2.15.10.tgz" - integrity sha512-jmD++mU2wKXbisvx4fxOl2mHaU+HWHTAq/3Wf8x9Bwyu4GdDZPLABb+CGi3DWN6fPqdgRcd74aX39DO+YHObLw== +element-ui@2.15.12: + version "2.15.12" + resolved "https://registry.npmmirror.com/element-ui/-/element-ui-2.15.12.tgz#fdde927a54078b17a85541ff7c0f0dad32488b8e" + integrity sha512-Y5FMT2BPOindU2GkDEQ5ZKUVxDawKONRNMh2eL3uBx1FOtvUJ+L6IxXLVsNxq4WnaX/UnVNgWXebl7DobygZMg== dependencies: async-validator "~1.8.1" babel-helper-vue-jsx-merge-props "^2.0.0"