v5.4
路径:crmeb/template/uni-app/components/pageFooter/index.vue
修改:created()添加代码
let currentPage = routes[routes.length - 1];
const options = currentPage.options; // 当前页面参数
let returl=Object.keys(options).map(key=>`${key}=${options[key]}`).join('&');
if(returl!='')
{
curRoute+=`?${returl}`;
}
this.$store.commit('ACTIVITYTAB', '/' + curRoute);
uni.$on('uploadFooter', (curRoute) => {
this.$store.commit('ACTIVITYTAB', '/' + curRoute);
});