瀏覽代碼

'打开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) => {