unknown
2024-05-31 3355ad641abcacb6f72fd6fe6e8568801447243c
src/components/drawflow/index.vue
@@ -21,7 +21,7 @@
        </div>
      </div>
    </div>
    <div class="content" :id="strId" @drop="drop" @dragover="allowDrop">
    <div class="content" :style="{ borderColor: primaryColor ? primaryColor : '#ccc' }" :id="strId" @drop="drop" @dragover="allowDrop">
      <div class="btn-export" @click="exportData">导出</div>
      <div class="btn-clear" @click="editor.clearModuleSelected()">清空</div>
    </div>
@@ -61,7 +61,7 @@
    },
    init() {
      this.editor = new Drawflow(
        document.getElementById(this.strId),
        (this.container ? this.container : document).getElementById(this.strId),
        Vue,
        this
      );