Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
web-sample
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
应超杰
web-sample
Commits
fe30560c
Commit
fe30560c
authored
Dec 09, 2020
by
应超杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
1356c857
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
web-toolkit.ts
src/plugin/web-toolkit.ts
+0
-1
routes.ts
src/router/routes.ts
+3
-2
No files found.
src/plugin/web-toolkit.ts
View file @
fe30560c
...
...
@@ -22,7 +22,6 @@ registerComponent(ComponentName.DialogSimple);
registerComponent
(
ComponentName
.
Tip
);
registerComponent
(
ComponentName
.
ErrChannel
);
registerComponent
(
ComponentName
.
Empty
);
// registerComponent(ComponentName.DialogPassword);
AxiosInterceptConfig
.
requestPartFunc
=
function
(
config
)
{
if
(
!
(
config
.
data
instanceof
FormData
))
{
...
...
src/router/routes.ts
View file @
fe30560c
...
...
@@ -4,6 +4,7 @@ import { PRIVILEGE } from '@/types/privilege';
const
demo1
=
{
path
:
'/demo1'
,
name
:
'index-page'
,
alias
:
""
,
component
:
()
=>
import
(
'../views/demo1/demo1.vue'
),
meta
:
{
// privileges: [PRIVILEGE.USER_MNG, PRIVILEGE.USER_LIST],
...
...
@@ -85,7 +86,7 @@ export const routes = [
},
{
path
:
'/mobile'
,
name
:
'mobile-index'
,
name
:
'mobile-index'
,
// redirect: {name:"mobile-login"},
component
:
()
=>
import
(
'../views-mobile/index.vue'
),
children
:
[
...
...
@@ -114,5 +115,5 @@ export const routes = [
component
:
()
=>
import
(
'../component/page404.vue'
),
meta
:
{
authDisabled
:
true
},
},
];
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