对话框默认可以外部点击关闭
This commit is contained in:
@@ -106,6 +106,8 @@ export default function MyProfileDialog({
|
||||
},
|
||||
}
|
||||
],
|
||||
closeOnEsc: true,
|
||||
closeOnOverlayClick: true,
|
||||
})}>退出登录</mdui-list-item>
|
||||
</mdui-list>
|
||||
</mdui-dialog>
|
||||
|
||||
@@ -27,6 +27,8 @@ export default function TextFieldPreference({ title, icon, description, id, stat
|
||||
label: description,
|
||||
value: state,
|
||||
},
|
||||
closeOnEsc: true,
|
||||
closeOnOverlayClick: true,
|
||||
})
|
||||
}}>
|
||||
{title}
|
||||
|
||||
Reference in New Issue
Block a user