From a9e21702aaa024c0f7f2c0e35c8585cae9cde724 Mon Sep 17 00:00:00 2001 From: dawn9117 <silanglang@163.com> Date: 星期五, 26 十一月 2021 13:55:32 +0800 Subject: [PATCH] 接口重复鉴权BUG修复: ResourceConfig中已经配置鉴权拦截器, 添加sa-token-spring-aop会导致重复鉴权BUG --- ruoyi-ui/src/App.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/App.vue b/ruoyi-ui/src/App.vue index e448b11..391d951 100644 --- a/ruoyi-ui/src/App.vue +++ b/ruoyi-ui/src/App.vue @@ -6,6 +6,14 @@ <script> export default { - name: 'App' + name: 'App', + metaInfo() { + return { + title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title, + titleTemplate: title => { + return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE + } + } + } } </script> -- Gitblit v1.9.3