This is an automated email from the ASF dual-hosted git repository. xxyu pushed a commit to branch kylin5 in repository https://gitbox.apache.org/repos/asf/kylin.git
commit b18e7c60f3793cfe9fa6176e17e56ac95daf8687 Author: Qian Xia <lauraxiaq...@gmail.com> AuthorDate: Wed Jul 5 18:03:54 2023 +0800 KYLIN-5614 model edit autoCalcLayer issue --- kystudio/src/components/studio/StudioModel/ModelEdit/model.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kystudio/src/components/studio/StudioModel/ModelEdit/model.js b/kystudio/src/components/studio/StudioModel/ModelEdit/model.js index 51a63c014d..d3d828d31d 100644 --- a/kystudio/src/components/studio/StudioModel/ModelEdit/model.js +++ b/kystudio/src/components/studio/StudioModel/ModelEdit/model.js @@ -25,10 +25,10 @@ class NModel extends Schama { this.vm && this.vm.$nextTick(() => { this._renderLinks() // 如果没有布局信息,就走自动布局程序 - if (!this.canvas) { - this.renderPosition() - } setTimeout(() => { + if (!this.canvas) { + this.renderPosition() + } this.getBrokenLinkedTable() // this._renderLabels() }, 1)