Compare commits

...

1 Commits

Author SHA1 Message Date
liu.xiaofeng@ebiz-digits.com
fd26458398 投保流程证件上传页面点击下一步提示订单不可修改状态 2023-08-02 09:48:15 +08:00

View File

@@ -5,12 +5,14 @@ import CacheUtils from '@/assets/js/utils/cacheUtils'
// import 'nprogress/nprogress.css' // Progress 进度条样式
export function permission() {
router.beforeEach((to, from, next) => {
// NProgress.start()
//修改title
const title = to.meta && to.meta.title
if (title) {
document.title = title
}
if(from.path == '/sale/signatureConfirmation' && to.path == '/sale/attachmentManagement'){
window.location.href = window.location.origin + '#' + from.path + '?orderNo=' + from.query.orderNo
}
//判断是否登录
let token = CacheUtils.getLocItem('token')
if (!token) {