mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-09-18 21:19:57 +08:00
优化信息
This commit is contained in:
parent
1560878b12
commit
1aef0b35ca
@ -2,7 +2,7 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<!-- 二维码大图 -->
|
||||
<van-popup v-model="visible" class="modal-popup">
|
||||
<van-popup v-model="visible" transition="none" class="modal-popup">
|
||||
<div class="qrcode-popup-container">
|
||||
<div class="qrcode-close" @click="closePopup">
|
||||
取消
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!-- verificationCode.vue -->
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<van-popup v-model="visible" class="modal-popup" position="right">
|
||||
<van-popup v-model="visible" transition="none" class="modal-popup" >
|
||||
<div class="verification-code-container">
|
||||
<div class="cell-box">
|
||||
<div class="cell-title">绑定手机号</div>
|
||||
|
@ -8,6 +8,7 @@ router.beforeEach((to, from, next) => {
|
||||
// store.dispatch('user/fedLogOut').then(() => {
|
||||
// })
|
||||
const loginStatus = Number(store.getters.loginStatus)
|
||||
console.log('loginStatus='+loginStatus)
|
||||
document.title = getPageTitle(to.meta.title)
|
||||
if (loginStatus === 0) {
|
||||
// 微信未授权登录跳转到授权登录页面
|
||||
|
@ -6,6 +6,7 @@ import {
|
||||
saveUserInfo,
|
||||
removeToken,
|
||||
removeUserInfo,
|
||||
removeLoginStatus,
|
||||
loadLoginStatus,
|
||||
loadToken,
|
||||
loadUserInfo
|
||||
|
Loading…
x
Reference in New Issue
Block a user