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

ok

parent b61b627d
......@@ -6,7 +6,6 @@ import router from '@/router';
import { AccountLogin, AccountRegister } from '@/api/account';
import { Modal } from 'view-design';
export const actions={
/**
* @description 登录
......@@ -58,9 +57,8 @@ export const actions={
// 清空 vuex 用户信息
await dispatch('admin/user/set', {}, { root: true });
// 跳转路由
router.push({
name: 'login'
});
// alert(123)
$nuxt.$router.push("/account/login");
}
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