feat: mobile page refactor is finished

This commit is contained in:
RockYang
2024-04-29 19:22:00 +08:00
parent 3b081ff0f4
commit 51a8f42d89
11 changed files with 181 additions and 87 deletions

View File

@@ -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(() => {