mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-11 19:53:50 +08:00
feat: mobile page refactor is finished
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
* Util lib functions
|
||||
*/
|
||||
import {showConfirmDialog} from "vant";
|
||||
import {useRouter} from "vue-router";
|
||||
|
||||
// generate a random string
|
||||
export function randString(length) {
|
||||
@@ -231,7 +230,7 @@ export function showLoginDialog(router) {
|
||||
showConfirmDialog({
|
||||
title: '登录',
|
||||
message:
|
||||
'当前操作需要登录才能进行,前往登录?',
|
||||
'此操作需要登录才能进行,前往登录?',
|
||||
}).then(() => {
|
||||
router.push("/login")
|
||||
}).catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user