feat: 仪表盘目录
This commit is contained in:
1 parent
acbcda39db
commit
0acb4109e5
3 files changed
+1002
-2
No files matched your search
+2
-2
@@ -128,7 +128,7 @@ const router = createRouter({
|
||||
/**全局路由-后置守卫 */
|
||||
router.afterEach((to, from, failure) => {
|
||||
NProgress.done();
|
||||
const title = to.meta?.title
|
||||
const title = to.meta?.title;
|
||||
// 设置标题
|
||||
if (!failure && title) {
|
||||
useAppStore().setTitle(to.meta.title);
|
||||
@@ -143,7 +143,7 @@ router.beforeEach((to, from, next) => {
|
||||
NProgress.start();
|
||||
const token = getToken();
|
||||
// 获取系统配置信息
|
||||
const appStore =useAppStore()
|
||||
const appStore = useAppStore();
|
||||
if (!appStore.loginBackground) {
|
||||
appStore.fnSysConf();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user