feat: panel初始化,api提取

This commit is contained in:
chenjinsong
2021-06-11 23:00:33 +08:00
parent ffc7652fc5
commit f2dafb19cb
7 changed files with 80 additions and 28 deletions

View File

@@ -1,6 +1,5 @@
import theme from '@/assets/css/theme.scss'
import { hasButton } from '@/permission'
import { nextTick } from 'vue'
export default {
data () {
return {
@@ -15,7 +14,6 @@ export default {
}
},
methods: {
$nextTick: nextTick,
hasButton (code) {
return hasButton(this.$store.getters.buttonList, code)
},