Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
najiu-frontend
najiu-admin-template
Commits
1e669870
Commit
1e669870
authored
Apr 07, 2021
by
Vben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(mock): make sure the background mode login is normal, fix #452
parent
edc75251
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
CHANGELOG.zh_CN.md
CHANGELOG.zh_CN.md
+1
-0
menu.ts
mock/sys/menu.ts
+3
-3
dashboard.ts
src/router/routes/modules/dashboard.ts
+8
-8
No files found.
CHANGELOG.zh_CN.md
View file @
1e669870
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
-
确保面包屑正确的显示图标
-
确保面包屑正确的显示图标
-
修复 tinymce 上传按钮全屏模式下消失问题
-
修复 tinymce 上传按钮全屏模式下消失问题
-
确保 title 在重新登录后正常改变
-
确保 title 在重新登录后正常改变
-
确保后台模式登录正常
## 2.1.1 (2021-03-26)
## 2.1.1 (2021-03-26)
...
...
mock/sys/menu.ts
View file @
1e669870
...
@@ -3,11 +3,11 @@ import { MockMethod } from 'vite-plugin-mock';
...
@@ -3,11 +3,11 @@ import { MockMethod } from 'vite-plugin-mock';
// single
// single
const
dashboardRoute
=
{
const
dashboardRoute
=
{
path
:
'
/
home
'
,
path
:
'
/
dashboard
'
,
name
:
'
Welcome
'
,
name
:
'
Welcome
'
,
component
:
'
/dashboard/
welcome
/index
'
,
component
:
'
/dashboard/
analysis
/index
'
,
meta
:
{
meta
:
{
title
:
'
routes.dashboard.
welcome
'
,
title
:
'
routes.dashboard.
analysis
'
,
affix
:
true
,
affix
:
true
,
icon
:
'
bx:bx-home
'
,
icon
:
'
bx:bx-home
'
,
},
},
...
...
src/router/routes/modules/dashboard.ts
View file @
1e669870
...
@@ -13,14 +13,6 @@ const dashboard: AppRouteModule = {
...
@@ -13,14 +13,6 @@ const dashboard: AppRouteModule = {
title
:
t
(
'
routes.dashboard.dashboard
'
),
title
:
t
(
'
routes.dashboard.dashboard
'
),
},
},
children
:
[
children
:
[
{
path
:
'
workbench
'
,
name
:
'
Workbench
'
,
component
:
()
=>
import
(
'
/@/views/dashboard/workbench/index.vue
'
),
meta
:
{
title
:
t
(
'
routes.dashboard.workbench
'
),
},
},
{
{
path
:
'
analysis
'
,
path
:
'
analysis
'
,
name
:
'
Analysis
'
,
name
:
'
Analysis
'
,
...
@@ -30,6 +22,14 @@ const dashboard: AppRouteModule = {
...
@@ -30,6 +22,14 @@ const dashboard: AppRouteModule = {
title
:
t
(
'
routes.dashboard.analysis
'
),
title
:
t
(
'
routes.dashboard.analysis
'
),
},
},
},
},
{
path
:
'
workbench
'
,
name
:
'
Workbench
'
,
component
:
()
=>
import
(
'
/@/views/dashboard/workbench/index.vue
'
),
meta
:
{
title
:
t
(
'
routes.dashboard.workbench
'
),
},
},
],
],
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment