|
@@ -19,8 +19,8 @@ const router = createRouter({
|
|
|
{
|
|
{
|
|
|
path: "/",
|
|
path: "/",
|
|
|
redirect: () => {
|
|
redirect: () => {
|
|
|
- // window.location.href = "https://p-nju.seec.seecoder.cn/login?from=https://air-nju.seec.seecoder.cn";
|
|
|
|
|
- window.location.href = "http://localhost:8000/login?from=http://localhost:4000";
|
|
|
|
|
|
|
+ window.location.href = "https://p-nju.seec.seecoder.cn/login?from=https://air-nju.seec.seecoder.cn";
|
|
|
|
|
+ // window.location.href = "http://localhost:8000/login?from=http://localhost:4000";
|
|
|
// {本地门户首页地址}?from={本地eai首页地址}
|
|
// {本地门户首页地址}?from={本地eai首页地址}
|
|
|
return "/"; // 占位返回值,实际不会执行
|
|
return "/"; // 占位返回值,实际不会执行
|
|
|
},
|
|
},
|
|
@@ -29,11 +29,11 @@ const router = createRouter({
|
|
|
// path: "/",
|
|
// path: "/",
|
|
|
// redirect: "/login"
|
|
// redirect: "/login"
|
|
|
// },
|
|
// },
|
|
|
- {
|
|
|
|
|
- path: '/login',
|
|
|
|
|
- name: 'login',
|
|
|
|
|
- component: () => import('../views/LoginPage/LoginPage.vue')
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // {
|
|
|
|
|
+ // path: '/login',
|
|
|
|
|
+ // name: 'login',
|
|
|
|
|
+ // component: () => import('../views/LoginPage/LoginPage.vue')
|
|
|
|
|
+ // },
|
|
|
{
|
|
{
|
|
|
path: '/register',
|
|
path: '/register',
|
|
|
name: 'register',
|
|
name: 'register',
|