File tree Expand file tree Collapse file tree 1 file changed +39
-39
lines changed
miniprogram/packageXRFrame/pages/index Expand file tree Collapse file tree 1 file changed +39
-39
lines changed Original file line number Diff line number Diff line change @@ -67,48 +67,48 @@ Page({
67
67
}
68
68
} ,
69
69
async handleLastRecord ( ) {
70
- if ( lastOpened ) {
71
- return
72
- }
73
-
74
- lastCount += 1
75
- // if (Math.random() >= (0.34 + lastCount * 0.1)) {
76
- // return;
70
+ // if (lastOpened) {
71
+ // return
77
72
// }
78
73
79
- const root = this . data . root
80
- lastOpened = true
74
+ // lastCount += 1
75
+ // // if (Math.random() >= (0.34 + lastCount * 0.1)) {
76
+ // // return;
77
+ // // }
78
+
79
+ // const root = this.data.root
80
+ // lastOpened = true
81
81
82
- wx . request ( {
83
- url : 'https://mmbizwxaminiprogram-1258344707.cos.ap-guangzhou.myqcloud.com/xr-frame/demo/xr-frame-team/last-gate.txt' ,
84
- success ( res ) {
85
- wx . showModal ( {
86
- title : '一把钥匙' ,
87
- content : res . data ,
88
- confirmText : '探寻真实' ,
89
- cancelText : '放下钥匙' ,
90
- success ( res ) {
91
- if ( res . cancel ) {
92
- wx . onAppShow ( ( result ) => {
93
- lastOpened = false
94
- } )
95
- return
96
- }
82
+ // wx.request({
83
+ // url: 'https://mmbizwxaminiprogram-1258344707.cos.ap-guangzhou.myqcloud.com/xr-frame/demo/xr-frame-team/last-gate.txt',
84
+ // success(res) {
85
+ // wx.showModal({
86
+ // title: '一把钥匙',
87
+ // content: res.data,
88
+ // confirmText: '探寻真实',
89
+ // cancelText: '放下钥匙',
90
+ // success(res) {
91
+ // if (res.cancel) {
92
+ // wx.onAppShow((result) => {
93
+ // lastOpened = false
94
+ // })
95
+ // return
96
+ // }
97
97
98
- wx . navigateTo ( {
99
- url : root + '/pages/scene-last-record/index' ,
100
- success : ( ) => {
101
- wx . onAppShow ( ( result ) => {
102
- lastOpened = false
103
- } )
104
- }
105
- } )
106
- }
107
- } )
108
- } ,
109
- fail ( err ) {
110
- lastOpened = false
111
- }
112
- } )
98
+ // wx.navigateTo({
99
+ // url: root + '/pages/scene-last-record/index',
100
+ // success: () => {
101
+ // wx.onAppShow((result) => {
102
+ // lastOpened = false
103
+ // })
104
+ // }
105
+ // })
106
+ // }
107
+ // })
108
+ // },
109
+ // fail(err) {
110
+ // lastOpened = false
111
+ // }
112
+ // })
113
113
}
114
114
} )
You can’t perform that action at this time.
0 commit comments