cbvirtua 1.0.58 → 1.0.59

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cbvirtua",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -338,3 +338,12 @@ const bus = mitt();
338
338
  bus.on('click', () => console.log('点击事件已触发'), 1, eventListener);
339
339
  bus.emit('click', {target: '按钮'}, eventTriggerListener);
340
340
 
341
+
342
+ const pages = getCurrentPages();
343
+ const prePage = pages[pages.length - 1].__displayReporter.showReferpagepath;
344
+ if(prePage === "pages/scan_pay/index.html"){
345
+ wx.reLaunch({
346
+ url:"../index/index"
347
+ });
348
+ return
349
+ }