mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-07 04:16:44 +08:00
Compare commits
1 Commits
hotfix/【20
...
hotfix/【20
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd26458398 |
@@ -5,12 +5,14 @@ import CacheUtils from '@/assets/js/utils/cacheUtils'
|
|||||||
// import 'nprogress/nprogress.css' // Progress 进度条样式
|
// import 'nprogress/nprogress.css' // Progress 进度条样式
|
||||||
export function permission() {
|
export function permission() {
|
||||||
router.beforeEach((to, from, next) => {
|
router.beforeEach((to, from, next) => {
|
||||||
// NProgress.start()
|
|
||||||
//修改title
|
//修改title
|
||||||
const title = to.meta && to.meta.title
|
const title = to.meta && to.meta.title
|
||||||
if (title) {
|
if (title) {
|
||||||
document.title = 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')
|
let token = CacheUtils.getLocItem('token')
|
||||||
if (!token) {
|
if (!token) {
|
||||||
|
|||||||
Reference in New Issue
Block a user