Commit 4941ee96 authored by beisir's avatar beisir

feat:weapp 修改wx.configg

parent 11b38334
......@@ -35,7 +35,7 @@ export default {
},
methods: {
async wxConfig() {
const res = await groupBuy.getWxConfig();
const [res] = await groupBuy.getWxConfig();
wx.config({
debug: false,
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