Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
xugong
hls-xcmg-vue-app
Commits
394ff44b
Commit
394ff44b
authored
Nov 22, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
''
parent
6b58d875
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
login.vue
src/pages/login.vue
+3
-10
No files found.
src/pages/login.vue
View file @
394ff44b
...
...
@@ -26,9 +26,6 @@
<div
class=
"button submit"
@
click=
"access"
>
登录
</div>
</div>
</h-content>
<!--
<div
style=
"width: 100%;height: 100%;background-color: #007aff;display: flex;justify-content: center;align-items: center;"
>
<p
style=
"font-weight: 700;font-size: 36px"
>
登录
</p>
</div>
-->
</
template
>
<
script
>
...
...
@@ -36,7 +33,6 @@ var CryptoJS = require('crypto-js')
export
default
{
data
()
{
return
{
money
:
234567
,
pwdType
:
'password'
,
// 密码类型
openEye
:
require
(
'@/assets/login/pwd.png'
),
// 图片地址
username
:
window
.
localStorage
.
username
...
...
@@ -48,12 +44,9 @@ export default {
}
},
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
fullPath
===
'/tab/my-info'
||
from
.
fullPath
===
'/margin-first-pay'
)
{
// 绑定查询入口
next
(
vm
=>
{
vm
.
getAccessToken
()
})
}
next
()
next
(
vm
=>
{
vm
.
getAccessToken
()
})
},
created
()
{
...
...
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