From aaa13b34449445bdf7aa03d4a8fb3944b5250d6b Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期三, 26 三月 2025 09:50:41 +0800 Subject: [PATCH] 婴幼儿照护实务 --- src/components/drawflow/index.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/drawflow/index.vue b/src/components/drawflow/index.vue index 24bf007..3fe9fbe 100644 --- a/src/components/drawflow/index.vue +++ b/src/components/drawflow/index.vue @@ -53,7 +53,7 @@ @drop="drop" @dragover="allowDrop" > - <div class="btn-export" @click="exportData">瀵煎嚭</div> + <div class="btn-export" @click="exportData">淇濆瓨</div> <div class="btn-clear" @click="editor.clearModuleSelected()">娓呯┖</div> </div> </div> @@ -89,6 +89,10 @@ exportData() { let dataJ = this.editor.export(); this.$emit("getDrawData", dataJ); + this.$message({ + type: "success", + message: "宸蹭繚瀛�", + }); }, init() { this.editor = new Drawflow( @@ -249,6 +253,9 @@ <style scoped lang="less"> @import "drawflow/dist/drawflow.min.css"; +.drawflow .drawflow-node.selected { + background: #fff; +} .drawflow { width: 100%; height: 100%; @@ -257,7 +264,7 @@ background: #fff; } .menu { - width: 150px; + width: 160px; border-right: 1px solid #ccc; } /* .menuItem { @@ -272,7 +279,6 @@ justify-content: flex-start; padding-left: 28px; align-items: baseline; - font-size: 16px; svg { top: 6px; left: 10px; -- Gitblit v1.9.1