Commit 394ff44b authored by 李晓兵's avatar 李晓兵

''

parent 6b58d875
......@@ -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 () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment