From b93b6ca9fa0385a647787c9b00f2cc3430f58a18 Mon Sep 17 00:00:00 2001
From: unknown <qq1940665526@163.com>
Date: 星期三, 29 五月 2024 22:17:24 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout

---
 src/components/drawflow/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/components/drawflow/index.vue b/src/components/drawflow/index.vue
index 8c8b594..d9fc97f 100644
--- a/src/components/drawflow/index.vue
+++ b/src/components/drawflow/index.vue
@@ -61,7 +61,7 @@
     },
     init() {
       this.editor = new Drawflow(
-        document.getElementById(this.strId),
+        (this.container ? this.container : document).getElementById(this.strId),
         Vue,
         this
       );

--
Gitblit v1.9.1