2.0 抢先版,主要更新了#10

This commit is contained in:
zhengjie
2019-05-24 10:49:04 +08:00
parent a5c9f58896
commit df51dbaf82
9 changed files with 26 additions and 202 deletions

View File

@@ -48,7 +48,6 @@
import checkPermission from '@/utils/permission' // 权限判断函数
import initData from '@/mixins/initData'
import { del } from '@/api/redis'
import { getPermissionTree } from '@/api/permission'
import eHeader from './module/header'
import edit from './module/edit'
export default {
@@ -60,7 +59,6 @@ export default {
}
},
created() {
this.getPermissions()
this.$nextTick(() => {
this.init()
})
@@ -95,11 +93,6 @@ export default {
this.$refs[index].doClose()
console.log(err.response.data.message)
})
},
getPermissions() {
getPermissionTree().then(res => {
this.permissions = res
})
}
}
}