Cannot pop-up window after clicking on Wechat to share

A pop-up window cannot pop up after clicking on Wechat to share. The code goes like this

let url = qs.stringify({
        url: window.location.href.split("-sharp")[0]
    })
axios.post(serverIp + "/dianzanbao/wechat/getConfig.do", url).then(res => {
    if (res.data.result_code === "0") {
        wx.config({
            debug: true,
            appId: res.data.result_info.appid,
            timestamp: res.data.result_info.timestamp,
            nonceStr: res.data.result_info.noncestr,
            signature: res.data.result_info.signature,
            jsApiList: ["onMenuShareTimeline", "onMenuShareAppMessage"]
        })
    }
})

initialize wx.config

developer tools can also pop up with successful configuration

clipboard.png

wx.readywx.onMenuShareAppMessageapiwx.updateAppMessageShareDataSDK

clipboard.png


fail

clipboard.png

clipboard.png

I don"t know if it has to be packaged into app to trigger the sharing pop-up window and trigger Wechat to call the friend list to solve

.
Mar.31,2022

is the Wechat jssdk introduced under confirmation version 1.4?

in addition: https://blog.csdn.net/han_cal...


there seems to be no problem. Try changing the words "Dianzanbao". Wechat will check if there are any prohibited words when you tune the interface, and if you don't give a clear prompt, you will ban it directly.


Brother, have you solved the problem? I have the same problem.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ed4b-2c450.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ed4b-2c450.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?