删除无用文件

Former-commit-id: c06ec731df4ebabb8f92d7f58c85026f0b8d4e63 [formerly c06ec731df4ebabb8f92d7f58c85026f0b8d4e63 [formerly c06ec731df4ebabb8f92d7f58c85026f0b8d4e63 [formerly c06ec731df4ebabb8f92d7f58c85026f0b8d4e63 [formerly f87896139a0ff5e9d660be579a00a689e34869b6 [formerly 72b14f63ac6b26e0008ae35a517a3800849f4c90]]]]]
Former-commit-id: 680a71c339a582051a69ce8c4b6ba1c84d74eded
Former-commit-id: 1955936db382384afff7f6f01355a652eefaaed6
Former-commit-id: 16f9bde2e3f230f42992e28f710d52a949347641 [formerly 300a1b6309e6e8e54418e1f73ac729cc8e72bcbe]
Former-commit-id: d5aac544a68fcd70f2254ab39b0dab23287dd0fa
Former-commit-id: 80c4f0656d401a798b7facc3c483815764d637a9
Former-commit-id: 5e6938f6477be280aae8ea8459c1f7fc2d4ea3f7
Former-commit-id: 3748bca5b38b02dc217ad5b330eb38063e05e030
Former-commit-id: 5fcac22be6fc574d325f6a47d5d3d21b92a27104
This commit is contained in:
liyang
2018-07-25 09:43:27 +08:00
parent 5f7c0b62b2
commit ae77c0c3a6
5 changed files with 6 additions and 37 deletions

View File

@@ -42,7 +42,7 @@ new Vue({
render: h => h(App), render: h => h(App),
created () { created () {
// 处理路由 得到每一级的路由设置 // 处理路由 得到每一级的路由设置
this.getAllTagFromRoutes() this.getAllPageFromRoutes()
// 设置顶栏菜单 // 设置顶栏菜单
this.$store.commit('d2adminMenuHeaderSet', menuHeader) this.$store.commit('d2adminMenuHeaderSet', menuHeader)
}, },
@@ -79,9 +79,9 @@ new Vue({
} }
}, },
/** /**
* 处理路由 得到每一级的路由设置 * 处理路由 得到所有的页面
*/ */
getAllTagFromRoutes () { getAllPageFromRoutes () {
const pool = [] const pool = []
const push = function (routes) { const push = function (routes) {
routes.forEach(route => { routes.forEach(route => {
@@ -94,7 +94,7 @@ new Vue({
}) })
} }
push(frameInRoutes) push(frameInRoutes)
this.$store.commit('d2adminpagePoolSet', pool) this.$store.commit('d2adminPagePoolSet', pool)
} }
} }
}).$mount('#app') }).$mount('#app')

View File

@@ -1,3 +0,0 @@
import page from './page'
export default page

View File

@@ -1,28 +0,0 @@
<template>
<div class="page">
<img src="./image/icon@2x.png" class="icon">
<p class="title">系统暂未对移动设备提供支持</p>
<p class="sub-title">请使用PC访问</p>
</div>
</template>
<style lang="scss" scoped>
@import '~@/assets/style/public.scss';
.page {
@extend %full;
@extend %flex-center-col;
background-color: #EDF4FA;
.icon {
width: 42px;
}
.title {
font-size: 14px;
color: #35495E;
}
.sub-title {
font-size: 12px;
color: #35495E;
margin: 0px;
}
}
</style>

View File

@@ -1 +1 @@
66aff6c09897ee543f6688caff91a0f9b44cb869 445093095b390adc31eff07060327bc7baaefb07

View File

@@ -1 +1 @@
78b98e947581eb460627c3091528a74b033a25c9 2b2ad59e01ff445075c4b6d63e425cba12153aec