Merge remote-tracking branch 'origin/develop'
Former-commit-id: 0d30fb38c33819dbd497a7bcbfd6fd41dfbae2de
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "d2-admin",
|
"name": "d2-admin",
|
||||||
"version": "1.5.0",
|
"version": "1.5.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve --open",
|
"serve": "vue-cli-service serve --open",
|
||||||
"start": "vue-cli-service serve --open",
|
"start": "vue-cli-service serve --open",
|
||||||
|
|||||||
@@ -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>
|
|
||||||
@@ -47,7 +47,15 @@ const frameOut = [
|
|||||||
// 页面重定向使用 必须保留
|
// 页面重定向使用 必须保留
|
||||||
{
|
{
|
||||||
path: '/redirect/:path*',
|
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()
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// 登录
|
// 登录
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user