import Drawer from '../src/index'; import Button from '../../button/index'; import '../assets/index.less'; import '../../menu/style/index'; import '../../icon/style/index'; import '../../button/style/index'; 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.indexOf('drawer1') >= 0) { return [200, 100]; } return 100; }, }, render() { return (