hookehuyr

微信初始化条件修改

......@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-26 23:52:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-05-22 18:03:29
* @LastEditTime: 2023-05-25 11:49:15
* @FilePath: /data-table/src/App.vue
* @Description:
-->
......@@ -117,8 +117,8 @@ onMounted(async () => {
$router.push("/stop?status=finish");
}
}
// 启用分享功能,非预览模式
if (form_setting.wxzq_is_share && no_preview_model) {
// 启用微信增强,非预览模式
if (form_setting.wxzq_enable && no_preview_model) {
const wxJs = await wxJsAPI({ form_code: code, url: raw_url });
wxJs.data.jsApiList = apiList;
wx.config(wxJs.data);
......