Ver Fonte

'打开AP'

chending1994 há 4 anos atrás
pai
commit
9fbc710dd4
1 ficheiros alterados com 2 adições e 2 exclusões
  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) => {