未验证 提交 95aca2ab 编写于 作者: 江麻妞 提交者: GitHub

fix (modal): 修复对话框 hook 不设置 loaded问题 (#1143)

fix (modal):  修复对话框 hook 不设置 loaded问题
上级 e00578c4
......@@ -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;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册