chore(editor): commit pending workspace changes

This commit is contained in:
plum 2026-04-17 10:42:54 +08:00
parent 9662f41eec
commit a8947696af
3 changed files with 1 additions and 13 deletions

View File

@ -1,8 +0,0 @@
import { injectWasm } from "@/utils/wasm/inject";
export function clearBuffer() {
injectWasm({ wasmUrl: "/wasm/Astral3DEditor.wasm" }).then(() => {
// 加载完wasm后自动注册了清除缓存的函数调用
window.clearBuffer();
});
}

View File

@ -21,7 +21,6 @@ import PathDrawingOverlay from "./PathDrawingOverlay.vue";
import {useGlobalConfigStore} from "@/store/modules/globalConfig";
import {usePluginStore} from "@/store/modules/plugin";
import {installBuiltinPlugin} from "@/plugin";
import { clearBuffer } from "@/utils/wasm/optimize";
import ViewportInfo from "./ViewportInfo.vue";
import IFCProperties from "./IFCProperties.vue";
@ -94,9 +93,6 @@ onMounted(async () => {
// astral editor
installBuiltinPlugin(window.viewer);
// wasm
clearBuffer();
})
onBeforeUnmount(() => {