pull/9/head
tangjinzhou 2018-01-31 11:38:31 +08:00
parent 9b2669ba99
commit 12035c048c
2 changed files with 1 additions and 5 deletions

View File

@ -32,10 +32,7 @@ export default {
mounted () { mounted () {
this._container = this.getContainer() this._container = this.getContainer()
this._container.appendChild(this.$el) this._container.appendChild(this.$el)
this.initAlign = true
this.$nextTick(() => {
this.initAlign = true
})
}, },
beforeDestroy () { beforeDestroy () {
this.$el.remove() this.$el.remove()

View File

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