改HBuilderX的底层,分别编辑HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-mp-weixin\dist\index.js 和 HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\mp-vue\dist\mp.runtime.esm.js这两个文件,在‘onShareAppMessage’下面添加‘onShareTimeline’;