element [feature request] dialog dialog when using the browser Back button, you can close the current dialog and mask

vyu0f0g1  于 2022-11-13  发布在  其他
关注(0)|答案(1)|浏览(185)

Existing Component

Component Name

Dialog

Description

使用dialog时,使用了浏览器的后退按钮无法关闭遮罩,然后加入modal-append-to-body="false"属性后可以关闭这招,浏览器回到上一个路由,但是打开原标签时,dialog对话框还没有关闭,需要手动关闭。

gywdnpxw

gywdnpxw1#

Translation of this issue:

Existing Component

yes

Component Name

Dialog

Description

When using dialog, you cannot close the mask by using the browser's back button, and then you can close it by adding the modal append to body = "false" attribute. The browser returns to the previous route, but when you open the original tag, the dialog box has not been closed and needs to be closed manually.

相关问题