Commit 5ca76538 authored by xiongjinke's avatar xiongjinke

修改

parent 45f8d47e
...@@ -167,10 +167,14 @@ export default { ...@@ -167,10 +167,14 @@ export default {
}, },
beforeRouteEnter(to, from, next) { beforeRouteEnter(to, from, next) {
next(vm => { next(vm => {
if (to.query.customerId){ if(from.name){
let customerId = to.query.customerId if (to.query.customerId){
vm.association(customerId) let customerId = to.query.customerId
vm.currentPath.pathName = to.query.path if(to.query.path){
vm.currentPath.pathName = to.query.path
}
vm.association(customerId)
}
} }
}) })
}, },
......
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