mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-04-20 18:14:28 +08:00
优化手机端 profile 页面
This commit is contained in:
@@ -236,7 +236,7 @@ export function showLoginDialog(router) {
|
||||
message: '此操作需要登录才能进行,前往登录?',
|
||||
})
|
||||
.then(() => {
|
||||
router.push('/mobile/login')
|
||||
router.push('/login')
|
||||
})
|
||||
.catch(() => {
|
||||
// on cancel
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="login-prompt" v-else>
|
||||
<van-button type="primary" size="large" round @click="showLoginDialog(router)">
|
||||
立即登录
|
||||
</van-button>
|
||||
<el-button type="primary" size="large" @click="router.push('/mobile/login')"
|
||||
>立即登录</el-button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -278,6 +278,7 @@ onMounted(() => {
|
||||
})
|
||||
.catch(() => {
|
||||
isLogin.value = false
|
||||
showLoginDialog(router)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user