We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be8db72 commit a53ebcaCopy full SHA for a53ebca
components/vc-drawer/src/Drawer.js
@@ -135,21 +135,9 @@ const Drawer = {
135
this.setLevelDomTransform(false, true);
136
}
137
document.body.style.overflow = '';
138
- // 拦不住。。直接删除;
139
- if (this.getSelfContainer) {
140
- this.container.parentNode.removeChild(this.container);
141
- }
142
143
this.sFirstEnter = false;
144
clearTimeout(this.timeout);
145
- // 需要 didmount 后也会渲染,直接 unmount 将不会渲染,加上判断.
146
- if (this.renderComponent) {
147
- this.renderComponent({
148
- afterClose: this.removeContainer,
149
- onClose() {},
150
- visible: false,
151
- });
152
153
},
154
methods: {
155
onKeyDown(e) {
0 commit comments