소스 검색

'打开AP'

chending1994 4 년 전
부모
커밋
9fbc710dd4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/utils/utils.js

+ 2 - 2
src/utils/utils.js

@@ -48,7 +48,7 @@ export async function wxConfigH5(url) {
       nonceStr: r.data.nonceStr,
       signature: r.data.signature,
       jsApiList: jsApiList,
-      openTagList: ["wx-open-launch-weapp"]
+      openTagList: ["wx-open-launch-weapp", "wx-open-launch-app"]
     });
     wx.error((err) => {
       console.log('err', err);
@@ -87,7 +87,7 @@ export function wxShare(title, imgUrl, desc, link) {
       nonceStr: r.data.nonceStr,
       signature: r.data.signature,
       jsApiList: jsApiList,
-      openTagList: ["wx-open-launch-weapp"]
+      openTagList: ["wx-open-launch-weapp", "wx-open-launch-app"]
     });
 
     wx.error((err) => {