Commit af9da322 by liwk

修改高度

1 parent 38595d6d
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
RightForm RightForm
}, },
mounted() { mounted() {
this.height = window.innerHeight + 'px' this.height = this.$client_height() + 'px'
}, },
methods: { methods: {
nodeClick(data, node, that, props) { nodeClick(data, node, that, props) {
......
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
RightForm RightForm
}, },
mounted() { mounted() {
this.height = window.innerHeight + 'px' this.height = this.$client_height() + 'px'
}, },
methods: { methods: {
nodeClick(data, node, that, props) { nodeClick(data, node, that, props) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!