File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed
miniprogram/packageAPI/pages/ar/gaussian-splatting Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -31,23 +31,11 @@ Component({
31
31
} ,
32
32
detached ( ) {
33
33
console . log ( "页面detached" )
34
- if ( wx . offThemeChange ) {
35
- wx . offThemeChange ( )
36
- }
37
- if ( this . worker ) this . worker . terminate ( )
38
34
35
+ if ( this . worker ) this . worker . terminate ( )
39
36
} ,
40
37
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 ( "页面准备完全" )
51
39
} ,
52
40
} ,
53
41
methods : {
@@ -96,7 +84,7 @@ Component({
96
84
97
85
const host = 'https://mmbizwxaminiprogram-1258344707.cos.ap-guangzhou.myqcloud.com/xr-frame/demo' ;
98
86
// const host = 'http://10.9.169.120:8030'
99
-
87
+
100
88
let type ;
101
89
102
90
// 加载 ply
You can’t perform that action at this time.
0 commit comments