@dcloudio/uni-cli-shared 2.0.2-alpha-4080220250929001 → 2.0.2-alpha-4080320251016001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -320,7 +320,8 @@ export default {
|
|
|
320
320
|
})
|
|
321
321
|
|
|
322
322
|
this._wxRewardedAd.onError(err => {
|
|
323
|
-
this.loading = false
|
|
323
|
+
this.loading = false
|
|
324
|
+
this.errorMessage = JSON.stringify(err)
|
|
324
325
|
this._dispatchEvent(EventType.Error, err)
|
|
325
326
|
})
|
|
326
327
|
|
|
@@ -330,6 +331,10 @@ export default {
|
|
|
330
331
|
this._callServer()
|
|
331
332
|
}
|
|
332
333
|
})
|
|
334
|
+
|
|
335
|
+
this._wxRewardedAd.load().then(() => {
|
|
336
|
+
}).catch((_) => {
|
|
337
|
+
})
|
|
333
338
|
|
|
334
339
|
this.loading = true
|
|
335
340
|
},
|
|
@@ -354,7 +359,8 @@ export default {
|
|
|
354
359
|
})
|
|
355
360
|
|
|
356
361
|
this._wxInterstitialAd.onError(err => {
|
|
357
|
-
this.loading = false
|
|
362
|
+
this.loading = false
|
|
363
|
+
this.errorMessage = JSON.stringify(err)
|
|
358
364
|
this._dispatchEvent(EventType.Error, err)
|
|
359
365
|
})
|
|
360
366
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-cli-shared",
|
|
3
|
-
"version": "2.0.2-alpha-
|
|
3
|
+
"version": "2.0.2-alpha-4080320251016001",
|
|
4
4
|
"description": "uni-cli-shared",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"postcss-urlrewrite": "^0.2.2",
|
|
28
28
|
"strip-json-comments": "^2.0.1"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "f86904c1ba927ee0a2062489e3e001ceb160814f"
|
|
31
31
|
}
|