'样式修改-登录/中英文'

This commit is contained in:
Fanzink
2022-12-02 16:19:14 +08:00
parent 1617bc347a
commit 35d5d91c23
14 changed files with 488 additions and 120 deletions

View File

@@ -30,7 +30,7 @@ export const pageRoutes = [
meta: { title: '登录' },
beforeEnter(to, from, next) {
if (Cookies.get('token')) {
Vue.prototype.$message({ message: '已经登录过了', type: 'error' })
Vue.prototype.$message({ message: $t('login.warning'), type: 'error' })
next(false)
} else {
next()