Former-commit-id: 84ad4736f4bd072ce623602a9aa104157ec785da
This commit is contained in:
liyang
2018-10-12 06:49:30 +08:00
parent 0bd9ec0060
commit b5b9e926b0
3 changed files with 10 additions and 14 deletions
-12
View File
@@ -1,12 +0,0 @@
<script>
// 跳板页面
export default {
beforeCreate () {
const path = this.$route.params.path
this.$router.replace(JSON.parse(path))
},
render: function (h) {
return h()
}
}
</script>
+9 -1
View File
@@ -47,7 +47,15 @@ const frameOut = [
// 页面重定向使用 必须保留
{
path: '/redirect/:path*',
component: () => import('@/pages/redirect')
component: {
beforeCreate () {
const path = this.$route.params.path
this.$router.replace(JSON.parse(path))
},
render: function (h) {
return h()
}
}
},
// 登录
{