Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Starter Web Vue
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
product
kim3-web-vue
Starter Web Vue
Commits
54e23abb
Commit
54e23abb
authored
Jul 03, 2021
by
水落(YangLei)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 去掉无用代码和配置
parent
e7df7eba
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
39 deletions
+18
-39
src/pages/frame/view/template/BlankTemplateView.vue
src/pages/frame/view/template/BlankTemplateView.vue
+0
-14
src/pages/frame/view/template/index.js
src/pages/frame/view/template/index.js
+1
-2
src/router/async/router.map.js
src/router/async/router.map.js
+0
-2
src/router/config.js
src/router/config.js
+17
-21
No files found.
src/pages/frame/view/template/BlankTemplateView.vue
deleted
100644 → 0
View file @
e7df7eba
<
template
>
<router-view
/>
</
template
>
<
script
>
import
{
mapState
}
from
'
vuex
'
;
export
default
{
name
:
'
BlankTemplateView
'
,
computed
:
{
...
mapState
(
'
settingModule
'
,
[
'
multiPage
'
]),
},
};
</
script
>
src/pages/frame/view/template/index.js
View file @
54e23abb
import
BlankTemplateView
from
'
./BlankTemplateView
'
;
import
PageTemplateView
from
'
./PageTemplateView
'
;
import
TabsTemplateView
from
'
./TabsTemplateView
'
;
export
{
BlankTemplateView
,
PageTemplateView
,
TabsTemplateView
}
export
{
PageTemplateView
,
TabsTemplateView
};
src/router/async/router.map.js
View file @
54e23abb
// 视图组件
const
view
=
{
tabs
:
()
=>
import
(
'
@/pages/frame/view/template/TabsTemplateView
'
),
blank
:
()
=>
import
(
'
@/pages/frame/view/template/BlankTemplateView
'
),
page
:
()
=>
import
(
'
@/pages/frame/view/template/PageTemplateView
'
),
};
...
...
@@ -36,7 +35,6 @@ const routerMap = {
},
dashboard
:
{
name
:
'
Dashboard
'
,
component
:
view
.
blank
,
},
workbench
:
{
name
:
'
工作台
'
,
...
...
src/router/config.js
View file @
54e23abb
import
{
BlankTemplateView
,
PageTemplateView
,
TabsTemplateView
}
from
'
@/pages/frame/view/template
'
;
import
{
PageTemplateView
,
TabsTemplateView
}
from
'
@/pages/frame/view/template
'
;
// 路由配置
const
options
=
{
...
...
@@ -42,7 +42,6 @@ const options = {
meta
:
{
icon
:
'
dashboard
'
,
},
component
:
BlankTemplateView
,
children
:
[
{
path
:
'
workbench
'
,
...
...
@@ -62,7 +61,7 @@ const options = {
],
},
{
path
:
'
system
_management
'
,
path
:
'
system
'
,
name
:
'
系统管理
'
,
meta
:
{
icon
:
'
setting
'
,
...
...
@@ -73,29 +72,28 @@ const options = {
component
:
PageTemplateView
,
children
:
[
{
path
:
'
menu
_management
'
,
path
:
'
menu
'
,
name
:
'
菜单管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/menu
'
),
},
{
path
:
'
organization
_management
'
,
path
:
'
organization
'
,
name
:
'
组织管理
'
,
component
:
BlankTemplateView
,
children
:
[
{
path
:
'
job
_management
'
,
path
:
'
job
'
,
name
:
'
岗位管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/organization/jobsmanagement/Jobs.vue
'
),
},
{
path
:
'
user
_management
'
,
path
:
'
user
'
,
name
:
'
用户管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/organization/usermanagement/User.vue
'
),
},
{
path
:
'
org
_management
'
,
path
:
'
org
'
,
name
:
'
机构管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/organization/orgmanagement/Org.vue
'
),
...
...
@@ -103,23 +101,22 @@ const options = {
],
},
{
path
:
'
role
_management
'
,
path
:
'
role
'
,
name
:
'
角色管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/role
'
),
},
{
path
:
'
parameter
_management
'
,
path
:
'
parameter
'
,
name
:
'
参数管理
'
,
component
:
BlankTemplateView
,
children
:
[
{
path
:
'
business
_management
'
,
path
:
'
business
'
,
name
:
'
业务参数
'
,
component
:
()
=>
import
(
'
@/pages/system/view/parameter/business/index.vue
'
),
},
{
path
:
'
operation
_management
'
,
path
:
'
operation
'
,
name
:
'
运维参数
'
,
component
:
()
=>
import
(
'
@/pages/system/view/parameter/operation/index.vue
'
),
...
...
@@ -127,31 +124,30 @@ const options = {
],
},
{
path
:
'
log
_management
'
,
path
:
'
log
'
,
name
:
'
日志管理
'
,
component
:
BlankTemplateView
,
children
:
[
{
path
:
'
login
_log
'
,
path
:
'
login
'
,
name
:
'
登录日志
'
,
component
:
()
=>
import
(
'
@/pages/system/view/log/login_log
/index.vue
'
),
component
:
()
=>
import
(
'
@/pages/system/view/log/login_log
'
),
},
{
path
:
'
operation
_log
'
,
path
:
'
operation
'
,
name
:
'
操作日志
'
,
component
:
()
=>
import
(
'
@/pages/system/view/log/operation/index.vue
'
),
},
],
},
{
path
:
'
task
_management
'
,
path
:
'
task
'
,
name
:
'
任务管理
'
,
component
:
()
=>
import
(
'
@/pages/system/view/task/index.vue
'
),
},
],
},
{
path
:
'
user
_center
'
,
path
:
'
user
'
,
name
:
'
个人中心
'
,
meta
:
{
icon
:
'
user
'
},
component
:
()
=>
import
(
'
@/pages/user/index.vue
'
),
...
...
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