方法一
// uni.$on("showLoading", ()=>{
// this.$showToastL()
// });
// uni.$on("hideLoading", ()=>{store.commit("hideLoading")});
方法二
wx.onAppRoute(function (res) {
that.$showToastL()
})
隐藏路由回调API wx.onAppRoute,全局定义分享内容
https://blog.csdn.net/weixin_43760969/article/details/136901363