소스 검색

Merge pull request #97 from John-Hong/John/release-2.0.0/SCRM-2339

fix(SCRM-2339): 开票时没有获取用户的默认邮箱
Tron 2 년 전
부모
커밋
fa5f32c452
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/pages/parkingFee/parkingReceipt/parkingApplication.vue

+ 1 - 1
src/pages/parkingFee/parkingReceipt/parkingApplication.vue

@@ -448,7 +448,7 @@ export default {
       const self = this;
       // const openId = MemberCacheTool.getOpenId(app);
       var data = {
-        openid: this.openId,
+        openid: this.openId || uni.getStorageSync('openid'),
         groupId: this.groupId,
         vipcode: this.member?.vipcode,
       };