Browse Source

跳转微信小程序10

zhangyujun 3 năm trước cách đây
mục cha
commit
11e1f22e23
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/mini/index.vue

+ 1 - 1
src/views/mini/index.vue

@@ -37,7 +37,7 @@ export default defineComponent({
 					nonceStr: res.data.data.nonceStr as string, // 必填,生成签名的随机串
 					signature: res.data.data.signature as string, // 必填,签名
 					jsApiList: ["previewImage"], // 必填,需要使用的JS接口列表
-					openTagList: [], // 可选,需要使用的开放标签列表,例如['wx-open-launch-app']
+					openTagList: ["wx-open-launch-weapp"], // 可选,需要使用的开放标签列表,例如['wx-open-launch-app']
 				});
 				wx.ready(()=>{
 					weappHtml.value = '成功';