diff --git a/project/dv/apps/AppGridDV.vue b/project/dv/apps/AppGridDV.vue index 95e3d007..af097221 100644 --- a/project/dv/apps/AppGridDV.vue +++ b/project/dv/apps/AppGridDV.vue @@ -17,7 +17,7 @@ -
+
{ - this.autoScale() - }) - - if (userList.length) { - this.$refs.VueOkrTree.append({ - id: new Date().getTime(), - label: '子节点', - userList: userList || [] - }, node) - - this.$nextTick(() => { - this.autoScale() - }) - } + this.$nextTick(() => { + this.autoScale() + }) } }) }, @@ -808,6 +796,15 @@ // max-width: 500px; } } + + &.middle-active { + ::v-deep .org-chart-container { + .org-chart-node { + // max-width: 500px; + float:initial; + } + } + } } .left {