修复弹窗无法关闭的bug

This commit is contained in:
huangchenhao 2025-11-25 10:05:30 +08:00
parent 84f2ef4bdb
commit 5039d543d6
3 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,6 @@ const handleOverlayClick = () => {
* 关闭弹窗
*/
const handleClose = () => {
emit('update:visible', false);
emit('close');
};

View File

@ -79,7 +79,7 @@ export function useDisasterData() {
{
id: 2,
source: '公安部门',
content: '对巴南G348武大线三峭湾进行交通管制。',
content: '对巴南S204武大线三峭湾进行交通管制。',
timestamp: '2025-10-17 13:00'
},
{

View File

@ -191,6 +191,7 @@
:close-on-click-modal="true"
:close-on-press-escape="true"
:show-close="true"
@close="showStretchableModal = false"
width="clamp(100px, 50vw, 1400px)"
>
<!-- 使用应急方案内容组件 -->