Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
frontend
/
qqxb-self-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b16fa833
authored
Jul 03, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
5cbdd282
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/router/index.ts
src/views/SelectIdentity.vue
src/router/index.ts
View file @
b16fa833
...
...
@@ -97,9 +97,9 @@ function getPathByTo(to, authcode_key) {
}
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
//
if (isOpenHttps === 'true' && location.href.startsWith('http://')) {
//
location.href = location.href.replace('http://', 'https://');
//
}
if
(
isOpenHttps
===
'true'
&&
location
.
href
.
startsWith
(
'http://'
))
{
location
.
href
=
location
.
href
.
replace
(
'http://'
,
'https://'
);
}
const
requiresAuth
=
to
.
matched
.
some
((
record
)
=>
record
.
meta
.
requiresAuth
);
//更改标题
if
(
to
.
meta
.
title
)
{
...
...
src/views/SelectIdentity.vue
View file @
b16fa833
...
...
@@ -200,7 +200,7 @@ export default class SelectIdentity extends Vue {
});
await
this
.
getUserInfo
();
if
(
this
.
id_no
)
{
await
this
.
getDispatchList
();
//这里是开启劳务派遣的开关
//
await this.getDispatchList(); //这里是开启劳务派遣的开关
}
this
.
loading
.
clear
();
}
...
...
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