fix: dropdown position not correct #2359

pull/1775/head
tanjinzhou 2020-07-02 14:48:42 +08:00
parent 82fb9905b3
commit 1cf4e29594
1 changed files with 3 additions and 2 deletions

View File

@ -138,9 +138,10 @@ export default {
if (
this.$refs.trigger &&
this.$refs.trigger._component &&
this.$refs.trigger._component.alignInstance
this.$refs.trigger._component.$refs &&
this.$refs.trigger._component.$refs.alignInstance
) {
this.$refs.trigger._component.alignInstance.forceAlign();
this.$refs.trigger._component.$refs.alignInstance.forceAlign();
}
}
}