方法一
// uni.$on("showLoading", ()=>{
// this.$showToastL()
// });
// uni.$on("hideLoading", ()=>{store.commit("hideLoading")});
方法二
wx.onAppRoute(function (res) {
that.$showToastL()
})
隱藏路由回調(diào)API wx.onAppRoute,全局定義分享內(nèi)容
https://blog.csdn.net/weixin_43760969/article/details/136901363