gxd-uni-library-editx 1.0.184 → 1.0.185
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.
package/package.json
CHANGED
|
@@ -372,9 +372,17 @@
|
|
|
372
372
|
|
|
373
373
|
//无上一个页面返回到首页
|
|
374
374
|
if(this.noPrevToIndex && !this.isPrev) {
|
|
375
|
+
// #ifdef MP-WEIXIN
|
|
376
|
+
let {path, query} = this.$xdUniHelper.parseURL();
|
|
377
|
+
wx.reLaunch({
|
|
378
|
+
url: `/pages/loading/loading?path=${path}&${query}`
|
|
379
|
+
})
|
|
380
|
+
// #endif
|
|
381
|
+
// #ifdef H5
|
|
375
382
|
this.$xdUniHelper.redirectTo({
|
|
376
383
|
url: this.$settings.index
|
|
377
384
|
}, false);
|
|
385
|
+
// #endif
|
|
378
386
|
return;
|
|
379
387
|
}
|
|
380
388
|
|