From b419eeb1a6a6afac7c83580c18c80219c47997e1 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 30 五月 2024 11:37:27 +0800
Subject: [PATCH] 合并

---
 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