大屏
This commit is contained in:
@@ -831,7 +831,6 @@
|
||||
|
||||
.top {
|
||||
flex: 1;
|
||||
padding: 80px 60px;
|
||||
}
|
||||
|
||||
.bottom {
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
|
||||
autoScale () {
|
||||
const treeWidth = this.$refs.tree.offsetWidth
|
||||
const containerWidth = this.$refs.container.offsetWidth
|
||||
const containerWidth = this.$refs.container.offsetWidth - 100
|
||||
this.scale = treeWidth < containerWidth ? 1 : containerWidth / treeWidth
|
||||
this.x = '50%'
|
||||
this.y = '50%'
|
||||
|
||||
Reference in New Issue
Block a user