Skip to content

Commit 3af4735

Browse files
committed
(feat)vk: gaussian splat
1 parent db0e450 commit 3af4735

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

miniprogram/packageAPI/pages/ar/gaussian-splatting/gaussian-splatting.js

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,11 @@ Component({
3131
},
3232
detached() {
3333
console.log("页面detached")
34-
if (wx.offThemeChange) {
35-
wx.offThemeChange()
36-
}
37-
if (this.worker) this.worker.terminate()
3834

35+
if (this.worker) this.worker.terminate()
3936
},
4037
ready() {
41-
console.log("页面准备完全")
42-
this.setData({
43-
theme: wx.getSystemInfoSync().theme || 'light'
44-
})
45-
46-
if (wx.onThemeChange) {
47-
wx.onThemeChange(({theme}) => {
48-
this.setData({theme})
49-
})
50-
}
38+
console.log("页面准备完全")
5139
},
5240
},
5341
methods: {
@@ -96,7 +84,7 @@ Component({
9684

9785
const host = 'https://mmbizwxaminiprogram-1258344707.cos.ap-guangzhou.myqcloud.com/xr-frame/demo';
9886
// const host = 'http://10.9.169.120:8030'
99-
87+
10088
let type;
10189

10290
// 加载 ply

0 commit comments

Comments
 (0)