mirror of
https://gitee.com/bootx/dax-pay-ui
synced 2026-08-13 15:55:43 +08:00
fix (modal): 修复对话框 hook 不设置 loaded问题 (#1143)
fix (modal): 修复对话框 hook 不设置 loaded问题
This commit is contained in:
@@ -48,6 +48,7 @@ export function useModal(): UseModalReturnType {
|
||||
if (unref(loaded) && isProdMode() && modalMethod === unref(modal)) return;
|
||||
|
||||
modal.value = modalMethod;
|
||||
loaded.value = true;
|
||||
modalMethod.emitVisible = (visible: boolean, uid: number) => {
|
||||
visibleData[uid] = visible;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user