fix
parent
8341fe44fc
commit
bbcf1981d1
|
@ -98,7 +98,7 @@ export default {
|
|||
<h2>antd menu</h2>
|
||||
<div>
|
||||
<h3>horizontal</h3>
|
||||
<div style={{ margin: '20px', width: '800px' }}>
|
||||
<div style={{ margin: '20px', width: '800px', position: 'relative' }}>
|
||||
<Clone childProps={{
|
||||
mode: 'horizontal',
|
||||
openAnimation: 'rc-menu-open-slide-up',
|
||||
|
|
|
@ -102,10 +102,12 @@ export default {
|
|||
this.$emit('mouseleave', e)
|
||||
},
|
||||
beforeEnter (el) {
|
||||
try {
|
||||
// this.$refs.alignInstance && this.$refs.alignInstance.forceAlign()
|
||||
} catch (error) {
|
||||
|
||||
}
|
||||
this.$refs.alignInstance && this.$refs.alignInstance.forceAlign()
|
||||
// this.$nextTick(() => {
|
||||
// this.$refs.alignInstance && this.$refs.alignInstance.forceAlign()
|
||||
// })
|
||||
},
|
||||
afterLeave (el) {
|
||||
if (this.destroyPopupOnHide) {
|
||||
|
|
Loading…
Reference in New Issue