This commit is contained in:
oneao committed 2026-03-25 17:31:22 +08:00
1 parent 11bcef03e1
commit a4e59dd5d1
39 files changed
+2333 -459

No files matched your search

@@ -0,0 +1,22 @@
import ErrorModal from "./index.vue";
export const ErrorModalService = {
show(responseData) {
const container = document.createElement("div");
document.body.appendChild(container);
const app = createApp({
render() {
return h(ErrorModal, {
responseData: responseData,
onClose: () => {
app.unmount();
document.body.removeChild(container);
},
});
},
});
app.mount(container);
},
};