Commit 86d435d5 authored by zhangyanni's avatar zhangyanni

注释

parent 070d42bf
......@@ -148,10 +148,10 @@ if(vvv!=process.env.VUE_APP_UPDATED){
}
router.beforeEach((to, from, next) => {
// 强制给index.html 加上时间戳
if (document.URL.indexOf('t=') < 0) {
let timestamp = (new Date()).valueOf()
window.location.href = '/index.html?t=' + timestamp + '#' + to.fullPath
}
// if (document.URL.indexOf('t=') < 0) {
// let timestamp = (new Date()).valueOf()
// window.location.href = '/index.html?t=' + timestamp + '#' + to.fullPath
// }
store.dispatch("routerToPathAction", to.fullPath);
if (to.name == "mobileLoginCmpt"||to.name=="emailLoginCmpt") {
cancelRequest.cancelRequest()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment