1
This commit is contained in:
@@ -30,7 +30,11 @@ function onCancel() {
|
||||
workflow.videoLinkModalVisible = false;
|
||||
}
|
||||
|
||||
function onDialogHide() {
|
||||
function onVisibleChange(visible) {
|
||||
if (visible) {
|
||||
workflow.videoLinkModalVisible = true;
|
||||
return;
|
||||
}
|
||||
onCancel();
|
||||
}
|
||||
|
||||
@@ -54,7 +58,7 @@ async function onRewrite() {
|
||||
:style="{ width: '600px' }"
|
||||
:draggable="false"
|
||||
class="ip-brain-dialog"
|
||||
@hide="onDialogHide"
|
||||
@update:visible="onVisibleChange"
|
||||
>
|
||||
<div class="space-y-4">
|
||||
<Message
|
||||
|
||||
Reference in New Issue
Block a user