20260712212917

This commit is contained in:
oneao committed 2026-07-12 21:29:17 +08:00
1 parent 4677f6c519
commit 00472688ab
361 files changed
-153949

No files matched your search

@@ -1,44 +0,0 @@
import { createVNode, getCurrentInstance, render } from "vue";
import File from "./index.vue";
export function showfile(
moduleid,
father,
cateid = "",
searchcondition = "",
readonly = false,
categories = [],
) {
const container = document.createElement("div");
document.body.appendChild(container);
const vnode = createVNode(File, {
father,
moduleid,
cateid,
searchcondition,
readonly,
categories,
modelValue: true,
"onUpdate:modelValue": (val) => {
if (!val) close();
},
onClosed: () => {
close();
},
});
const instance = getCurrentInstance();
if (instance) {
vnode.appContext = instance.appContext;
}
function close() {
render(null, container);
container.remove();
}
render(vnode, container);
}
File diff suppressed because it is too large. Load diff