微信小程序-省心预览工具

This commit is contained in:
Yeomai committed 2026-09-28 21:23:52 +08:00
commit edf1e51846
173 files changed
+78282

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
const env = require('./utils/spine-env.js')
App({
onLaunch() {
// Spine 的 ManagedWebGLRenderingContext 内部会判断 `x instanceof WebGLRenderingContext`,
// 小程序若没有这个全局构造器会直接抛 ReferenceError,这里提前保证它被声明。
env.installWebGLShim()
},
})