Commit bb6247e9 by 吴娟华

'提交'

1 parent dd38c501
......@@ -19,7 +19,8 @@ export default {
let route = state.lastPath.replace('.', '/')
if (route == 'common/marketing') {
route = ''
history.back()
//history.back()
router.replace({ name: 'common.marketing' })
//window.location.replace(`${window.location.href.split('?')[0]}#/${route}`)
return
} else {
......
......@@ -109,15 +109,6 @@ export default {
//console.log(JSON.parse(sessionStorage.getItem('URL_PARAM')))
}
let isPageHide = false;
window.addEventListener('pageshow', function () {
if (isPageHide) {
window.location.reload();
}
});
window.addEventListener('pagehide', function () {
isPageHide = true;
});
let urlObj = JSON.parse(sessionStorage.getItem('URL_PARAM'))
if(urlObj && ('appId' in urlObj) && ('courseId' in urlObj) && ('channl' in urlObj) && ('merchantId' in urlObj) && ('fissionUser' in urlObj)) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!