import Drawer from '../src/index' import Menu from '../../menu/index' import Icon from '../../icon/index' import '../assets/index.less' import '../../menu/style/index' import '../../icon/style/index' const SubMenu = Menu.SubMenu const MenuItemGroup = Menu.ItemGroup export default { data () { return { open: true, } }, mounted () { this.$nextTick(() => { setTimeout(() => { this.open = false }, 2000) }) }, methods: { onChange (bool) { console.log(bool) }, onTouchEnd () { this.open = false }, onSwitch () { this.open = !this.open }, }, render () { return (
Navigation One} > Option 1 Option 2 Option 3 Option 4 Navigation Two} > Option 5 Option 6 Option 7 Option 8 Navigation Three} > Option 9 Option 10 Option 11 Option 12
内容区块
) }, }