lilei 2 years ago
parent
commit
3d527d4942
2 changed files with 5 additions and 1 deletions
  1. 4 0
      .hbuilderx/launch.json
  2. 1 1
      pages/sales/bill.vue

+ 4 - 0
.hbuilderx/launch.json

@@ -21,6 +21,10 @@
         {
             "playground" : "custom",
             "type" : "uni-app:app-android"
+        },
+        {
+            "playground" : "custom",
+            "type" : "uni-app:app-ios"
         }
     ]
 }

+ 1 - 1
pages/sales/bill.vue

@@ -461,6 +461,7 @@ export default {
 			let jumpUrl = getApp().globalData.baseUrl.replace('qpls-md/','')
 			let url = jumpUrl +'dzd/index.html?' + this.userData.orgSn + '&'+verifyId;
 			if (uni.getSystemInfoSync().platform == 'ios') {
+				this.setBillOrder();
 				uni.share({
 					provider: 'weixin',
 					scene: 'WXSceneSession',
@@ -470,7 +471,6 @@ export default {
 					summary: '共' + settlement + '元,请您查阅',
 					imageUrl: '../../static/logo.png',
 					success: (res)=> {
-						this.setBillOrder();
 						console.log('success:' + JSON.stringify(res));
 					},
 					fail: (err)=> {