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 () {
            // 
          }
        });