@@ -12,6 +12,7 @@ const _axios = axios.create(config);
_axios.interceptors.request.use(
function (config) {
+ config.headers.shareEmailId=sessionStorage.getItem('shareId')||0
return config;
},
function (error) {
@@ -52,6 +52,9 @@ const router=createRouter({
})
router.beforeEach((to, from, next) => {
+ if(to.query.ShareEmail){
+ sessionStorage.setItem('shareId',to.query.ShareEmail)
+ }
next();