Commit d462ef60 by liwk

commit

1 parent c6157ee9
...@@ -69,7 +69,7 @@ export default { ...@@ -69,7 +69,7 @@ export default {
if (window.$config.axios.environment) { if (window.$config.axios.environment) {
target = [] target = []
} }
console.log(target) console.log(target, { orderCode: params.orderCode })
this.$root.to(target, { orderCode: params.orderCode }) this.$root.to(target, { orderCode: params.orderCode })
} }
}, },
......
...@@ -191,6 +191,7 @@ export default { ...@@ -191,6 +191,7 @@ export default {
}, },
mounted () { mounted () {
this.$root.eventBus.$on('params', params => { this.$root.eventBus.$on('params', params => {
console.log(params)
this.params = params this.params = params
this.getDetail(params) this.getDetail(params)
}) })
......
...@@ -147,6 +147,7 @@ export default { ...@@ -147,6 +147,7 @@ export default {
}, },
mounted () { mounted () {
this.$root.eventBus.$on('params', params => { this.$root.eventBus.$on('params', params => {
console.log(params)
this.getDetail(params) this.getDetail(params)
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!