Wechat official account web page development call sharing has no effect?

I always thought that Wechat provided an interface for sharing by customizing buttons, but I didn"t expect that I could only monitor the status of sharing when I clicked on the upper right corner.

original description:

openLocation is valid, there is no response to sharing, console does not report any errors, and how can it be solved without log,?

checkJsApi returns no problem

      // window.wx.openLocation({
        //   latitude: 0, // 90 ~ -90
        //   longitude: 0, // 180 ~ -180
        //   name: "", // 
        //   address: "", // 
        //   scale: 1, // ,,1~28
        //   infoUrl: "" // ,
        // })
    
        window.wx.onMenuShareTimeline({
          title: "title", // 
          link: window.location.href.split("-sharp")[0], // JS
          imgUrl: "", // 
          success: function () {
            // 
          }
        });

how about this configuration?

wx.config({
            debug: false,
            appId: JSON.parse(data).appId, // 
            timestamp: JSON.parse(data).timestamp, // 
            nonceStr: JSON.parse(data).nonceStr, // 
            signature: JSON.parse(data).signature,// 
            jsApiList: [
                'onMenuShareTimeline',
                'onMenuShareAppMessage',
                'onMenuShareQQ',
                'onMenuShareWeibo',
                'onMenuShareQZone'
            ]

        });
If
openLocation is useful, the signature should be fine. I think it may be a problem of sharing links. Try title , link , imgUrl to try link and url to be consistent with the official JS security domain name


how to solve it?

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-1b32726-2be22.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-1b32726-2be22.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?