fix: drawer throw error when use v-if #2254
parent
ca36ffdb42
commit
02f6fda430
|
@ -1 +1 @@
|
||||||
Subproject commit 6213d13ef5f287b16a05ff5509b444a662570944
|
Subproject commit 7da5429bd5556f6a87c065f6675b963e45f7a83b
|
|
@ -28,9 +28,8 @@ export default {
|
||||||
this._container = this.$props.getContainer();
|
this._container = this.$props.getContainer();
|
||||||
this.$forceUpdate();
|
this.$forceUpdate();
|
||||||
},
|
},
|
||||||
|
|
||||||
removeContainer() {
|
removeContainer() {
|
||||||
if (this._container) {
|
if (this._container && this._container.parentNode) {
|
||||||
this._container.parentNode.removeChild(this._container);
|
this._container.parentNode.removeChild(this._container);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue