|
@@ -39,11 +39,11 @@ export default defineComponent({
|
|
|
jsApiList: ["previewImage"], // 必填,需要使用的JS接口列表
|
|
|
openTagList: ["wx-open-launch-weapp"], // 可选,需要使用的开放标签列表,例如['wx-open-launch-app']
|
|
|
});
|
|
|
- wx.ready(()=>{
|
|
|
- weappHtml.value = '成功';
|
|
|
- })
|
|
|
+ // wx.ready(()=>{
|
|
|
+ // weappHtml.value = '成功';
|
|
|
+ // })
|
|
|
wx.error(({ errMsg }) => {
|
|
|
- alert(errMsg)
|
|
|
+
|
|
|
weappHtml.value = errMsg;
|
|
|
});
|
|
|
});
|