Browse Source

fix

pull/165/head
tangjinzhou 7 years ago
parent
commit
d73442a0ac
  1. 5
      components/trigger/Popup.vue
  2. 1
      components/trigger/index.vue

5
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()

1
components/trigger/index.vue

@ -369,7 +369,6 @@ export default {
this.setState({
sPopupVisible,
})
this.$forceUpdate()
}
this.$listeners.popupVisibleChange && this.$listeners.popupVisibleChange(sPopupVisible)
}

Loading…
Cancel
Save