Skip to content

Commit

Permalink
docs(dialog): github check destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheng Hao authored and Sheng Hao committed Dec 4, 2024
1 parent 909d140 commit 3162d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dialog/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function create(options: Partial<TdDialogProps> | string): DialogInstance {
onClosed: () => {
callFn('onClosed');
// 卸载创建的app
// 修复调用destory未清除滚动锁定问题
// 修复调用destroy未清除滚动锁定问题
nextTick(() => {
params.destroyOnClose && app.unmount();
});
Expand Down

0 comments on commit 3162d63

Please sign in to comment.