Commit 4941ee96 authored by beisir's avatar beisir

feat:weapp 修改wx.configg

parent 11b38334
...@@ -35,7 +35,7 @@ export default { ...@@ -35,7 +35,7 @@ export default {
}, },
methods: { methods: {
async wxConfig() { async wxConfig() {
const res = await groupBuy.getWxConfig(); const [res] = await groupBuy.getWxConfig();
wx.config({ wx.config({
debug: false, debug: false,
jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage'], // 必填,需要使用的JS接口列表 jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage'], // 必填,需要使用的JS接口列表
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment