Commit b053af10 authored by 周远喜's avatar 周远喜

ok

parent b61b627d
...@@ -6,7 +6,6 @@ import router from '@/router'; ...@@ -6,7 +6,6 @@ import router from '@/router';
import { AccountLogin, AccountRegister } from '@/api/account'; import { AccountLogin, AccountRegister } from '@/api/account';
import { Modal } from 'view-design'; import { Modal } from 'view-design';
export const actions={ export const actions={
/** /**
* @description 登录 * @description 登录
...@@ -58,9 +57,8 @@ export const actions={ ...@@ -58,9 +57,8 @@ export const actions={
// 清空 vuex 用户信息 // 清空 vuex 用户信息
await dispatch('admin/user/set', {}, { root: true }); await dispatch('admin/user/set', {}, { root: true });
// 跳转路由 // 跳转路由
router.push({ // alert(123)
name: 'login' $nuxt.$router.push("/account/login");
});
} }
if (confirm) { if (confirm) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment