v5.4
路徑:crmeb/template/uni-app/components/pageFooter/index.vue
修改:created()添加代碼
let currentPage = routes[routes.length - 1];
const options = currentPage.options; // 當(dāng)前頁(yè)面參數(shù)
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);
});