Commit 66802093 by liwk

commit

1 parent d462ef60
...@@ -51,6 +51,9 @@ var mixin = { ...@@ -51,6 +51,9 @@ var mixin = {
}, },
height() { height() {
return document.height || document.body.offsetHeight // document.documentElement.clientHeight || document.body.clientHeight // return document.height || document.body.offsetHeight // document.documentElement.clientHeight || document.body.clientHeight //
},
translate(params) {
_this.eventBus.$emit('params', params)
} }
} }
}) })
......
...@@ -191,7 +191,7 @@ export default { ...@@ -191,7 +191,7 @@ export default {
}, },
mounted () { mounted () {
this.$root.eventBus.$on('params', params => { this.$root.eventBus.$on('params', params => {
console.log(params) console.log(params, '------')
this.params = params this.params = 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!