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