fix: menu click bug

pull/165/head
tjz 7 years ago
parent 7c55c9868a
commit 5e0f8c2c6f

@ -231,6 +231,9 @@ export default {
menuProps.on.click = this.handleClick
menuProps.props.openTransitionName = menuOpenAnimation
} else {
menuProps.on.click = (e) => {
this.$emit('click', e)
}
menuProps.props.openAnimation = menuOpenAnimation
}

@ -4,7 +4,7 @@ import Iframe from './components/iframe.vue'
const AsyncTestComp = () => {
const d = window.location.hash.replace('#', '')
return {
component: import(`../components/layout/demo/${d}`),
component: import(`../components/menu/demo/${d}`),
}
}

Loading…
Cancel
Save