修复弹窗无法关闭的bug
This commit is contained in:
parent
84f2ef4bdb
commit
5039d543d6
@ -136,7 +136,6 @@ const handleOverlayClick = () => {
|
||||
* 关闭弹窗
|
||||
*/
|
||||
const handleClose = () => {
|
||||
emit('update:visible', false);
|
||||
emit('close');
|
||||
};
|
||||
|
||||
|
||||
@ -79,7 +79,7 @@ export function useDisasterData() {
|
||||
{
|
||||
id: 2,
|
||||
source: '公安部门',
|
||||
content: '对巴南G348武大线三峭湾进行交通管制。',
|
||||
content: '对巴南S204武大线三峭湾进行交通管制。',
|
||||
timestamp: '2025-10-17 13:00'
|
||||
},
|
||||
{
|
||||
|
||||
@ -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)"
|
||||
>
|
||||
<!-- 使用应急方案内容组件 -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user