Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xgdlapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
李苏
xgdlapp
Commits
4874fe45
Commit
4874fe45
authored
Apr 25, 2023
by
zhoumaotao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.gavelinfo.com:lisu/xgdlapp
parents
e1cccded
7721e45b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
index.js
common/router/index.js
+6
-0
index.vue
pages/dl_kw_adjust/index.vue
+1
-1
No files found.
common/router/index.js
View file @
4874fe45
...
@@ -13,6 +13,12 @@ const router = new Router({
...
@@ -13,6 +13,12 @@ const router = new Router({
const
whiteList
=
[
'/pages/login/update'
,
'/pages/login/login'
,
'/pages/login/fwqsz'
]
const
whiteList
=
[
'/pages/login/update'
,
'/pages/login/login'
,
'/pages/login/fwqsz'
]
//全局路由前置守卫
//全局路由前置守卫
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
/* 清除所有定时器 */
let
timer
=
setInterval
(()
=>
{
console
.
log
(
timer
)},
10000
)
clearInterval
(
timer
)
for
(
let
i
=
0
;
i
<=
timer
;
i
++
){
clearInterval
(
i
)
}
let
token
=
uni
.
getStorageSync
(
ACCESS_TOKEN
);
let
token
=
uni
.
getStorageSync
(
ACCESS_TOKEN
);
if
(
token
){
if
(
token
){
next
()
next
()
...
...
pages/dl_kw_adjust/index.vue
View file @
4874fe45
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
}
}
});
});
}
else
{
}
else
{
this
.
$tip
.
alert
(
"请先扫描有效
托盘
信息"
);
this
.
$tip
.
alert
(
"请先扫描有效
地码
信息"
);
}
}
},
},
...
...
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