import Drawer from '../src/index' import Menu from '../../menu/index' import Icon from '../../icon/index' import Button from '../../button/index' import '../assets/index.less' import '../../menu/style/index' import '../../icon/style/index' import '../../button/style/index' const SubMenu = Menu.SubMenu const MenuItemGroup = Menu.ItemGroup export default { data () { return { open: false, openChild: false, openChildren: false, } }, methods: { onClick () { this.open = !this.open }, onChildClick () { this.openChild = !this.openChild }, onChildrenClick () { this.openChildren = !this.openChildren }, getLevelMove (e) { const target = e.target if (target.className === 'drawer1') { return [200, 100] } return 100 }, }, render () { return (