Commit 5ca76538 authored by xiongjinke's avatar xiongjinke

修改

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