提交 11ae830d authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 5890cba9
...@@ -39,6 +39,9 @@ module.exports = { ...@@ -39,6 +39,9 @@ module.exports = {
kelley: { kelley: {
url: 'http://kelley-learning2.ezijing.com' url: 'http://kelley-learning2.ezijing.com'
}, },
wmp: {
url: 'http://wmp-learning2.ezijing.com'
},
ciis: { ciis: {
url: 'http://ciis-learning2.ezijing.com' url: 'http://ciis-learning2.ezijing.com'
} }
......
...@@ -20,6 +20,9 @@ module.exports = { ...@@ -20,6 +20,9 @@ module.exports = {
kelley: { kelley: {
url: 'http://kelley-learning.ezijing.com' url: 'http://kelley-learning.ezijing.com'
}, },
wmp: {
url: 'http://wmp-learning.ezijing.com'
},
ciis: { ciis: {
url: 'http://ciis-learning.ezijing.com' url: 'http://ciis-learning.ezijing.com'
} }
......
...@@ -21,6 +21,9 @@ module.exports = { ...@@ -21,6 +21,9 @@ module.exports = {
kelley: { kelley: {
url: 'http://kelley-learning2.ezijing.com' url: 'http://kelley-learning2.ezijing.com'
}, },
wmp: {
url: 'http://wmp-learning2.ezijing.com'
},
ciis: { ciis: {
url: 'http://ciis-learning2.ezijing.com' url: 'http://ciis-learning2.ezijing.com'
} }
......
...@@ -4,10 +4,9 @@ ...@@ -4,10 +4,9 @@
<script> <script>
export default { export default {
name: 'CiisLogin',
methods: { methods: {
handleSuccess(response) { handleSuccess(response) {
const { url } = webConf.others.ciis const { url } = webConf.others.wmp
window.location.href = url window.location.href = url
} }
} }
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</template> </template>
<script> <script>
export default { name: 'CiisPassword' } export default {}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
......
...@@ -47,13 +47,13 @@ export default [ ...@@ -47,13 +47,13 @@ export default [
] ]
}, },
{ {
path: '/ciis', path: '/wmp',
component: () => import(/* webpackChunkName: "ciis" */ '../pages/ciis/components/layout.vue'), component: () => import(/* webpackChunkName: "wmp" */ '../pages/wmp/components/layout.vue'),
children: [ children: [
{ path: '', redirect: 'login/index' }, { path: '', redirect: 'login/index' },
{ {
path: 'login', path: 'login',
component: () => import(/* webpackChunkName: "ciis" */ '../pages/ciis/login.vue'), component: () => import(/* webpackChunkName: "wmp" */ '../pages/wmp/login.vue'),
children: [ children: [
{ path: '', redirect: 'index' }, { path: '', redirect: 'index' },
{ path: 'index', component: loginAccount }, { path: 'index', component: loginAccount },
...@@ -62,19 +62,19 @@ export default [ ...@@ -62,19 +62,19 @@ export default [
}, },
{ {
path: 'password', path: 'password',
component: () => import(/* webpackChunkName: "ciis" */ '../pages/ciis/password.vue'), component: () => import(/* webpackChunkName: "wmp" */ '../pages/wmp/password.vue'),
children: [{ path: '', component: password }] children: [{ path: '', component: password }]
} }
] ]
}, },
{ {
path: '/wmp', path: '/ciis',
component: () => import(/* webpackChunkName: "wmp" */ '../pages/wmp/components/layout.vue'), component: () => import(/* webpackChunkName: "ciis" */ '../pages/ciis/components/layout.vue'),
children: [ children: [
{ path: '', redirect: 'login/index' }, { path: '', redirect: 'login/index' },
{ {
path: 'login', path: 'login',
component: () => import(/* webpackChunkName: "wmp" */ '../pages/wmp/login.vue'), component: () => import(/* webpackChunkName: "ciis" */ '../pages/ciis/login.vue'),
children: [ children: [
{ path: '', redirect: 'index' }, { path: '', redirect: 'index' },
{ path: 'index', component: loginAccount }, { path: 'index', component: loginAccount },
...@@ -83,7 +83,7 @@ export default [ ...@@ -83,7 +83,7 @@ export default [
}, },
{ {
path: 'password', path: 'password',
component: () => import(/* webpackChunkName: "wmp" */ '../pages/wmp/password.vue'), component: () => import(/* webpackChunkName: "ciis" */ '../pages/ciis/password.vue'),
children: [{ path: '', component: password }] children: [{ path: '', component: password }]
} }
] ]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论