diff --git a/components/trigger/Popup.vue b/components/trigger/Popup.vue index bc2b47d8a..c65015bba 100644 --- a/components/trigger/Popup.vue +++ b/components/trigger/Popup.vue @@ -32,10 +32,7 @@ export default { mounted () { this._container = this.getContainer() this._container.appendChild(this.$el) - - this.$nextTick(() => { - this.initAlign = true - }) + this.initAlign = true }, beforeDestroy () { this.$el.remove() diff --git a/components/trigger/index.vue b/components/trigger/index.vue index 312df58a1..014e21501 100644 --- a/components/trigger/index.vue +++ b/components/trigger/index.vue @@ -369,7 +369,6 @@ export default { this.setState({ sPopupVisible, }) - this.$forceUpdate() } this.$listeners.popupVisibleChange && this.$listeners.popupVisibleChange(sPopupVisible) }