fix(previs): 预演台关闭确认 - 显式关闭留台弹窗避免浏览器验收超时
This commit is contained in:
1 parent
819372cad2
commit
5f322f2f5e
1 file changed
+2
-1
@@ -539,8 +539,9 @@ export function CanvasPrevisWorkbench({
|
|||||||
mask: { closable: false },
|
mask: { closable: false },
|
||||||
keyboard: false,
|
keyboard: false,
|
||||||
onOk: () => onClose(),
|
onOk: () => onClose(),
|
||||||
onCancel: () => {
|
onCancel: (close) => {
|
||||||
closingRef.current = false;
|
closingRef.current = false;
|
||||||
|
close();
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
|||||||
Reference in new issue
Block a user