From be1b3dffce900efdb72ef9b55151b09cb9eaa790 Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Fri, 17 Mar 2023 15:39:07 +0800 Subject: [PATCH] =?UTF-8?q?demo=E6=94=AF=E6=8C=81=E5=85=B3=E8=81=94?= =?UTF-8?q?=E7=BA=BF=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/lang/en_us.js | 10 ++- web/src/lang/zh_cn.js | 10 ++- web/src/pages/Edit/components/BaseStyle.vue | 94 +++++++++++++++++++++ web/src/pages/Edit/components/Edit.vue | 5 ++ web/src/pages/Edit/components/Toolbar.vue | 10 +++ 5 files changed, 125 insertions(+), 4 deletions(-) diff --git a/web/src/lang/en_us.js b/web/src/lang/en_us.js index 5c3427f2..27278c94 100644 --- a/web/src/lang/en_us.js +++ b/web/src/lang/en_us.js @@ -38,7 +38,12 @@ export default { isEnableNodeRichText: 'Enable node rich text editing', mousewheelAction: 'Mouse wheel behavior', zoomView: 'Zoom view', - moveViewUpDown: 'Move view up and down' + moveViewUpDown: 'Move view up and down', + associativeLine: 'Associative line', + associativeLineWidth: 'Width', + associativeLineColor: 'Color', + associativeLineActiveWidth: 'Active width', + associativeLineActiveColor: 'Active color' }, color: { moreColor: 'More color' @@ -187,7 +192,8 @@ export default { saveAs: 'Save as', import: 'Import', export: 'Export', - shortcutKey: 'Shortcut key' + shortcutKey: 'Shortcut key', + associativeLine: 'Associative line', }, edit: { newFeatureNoticeTitle: 'New feature reminder', diff --git a/web/src/lang/zh_cn.js b/web/src/lang/zh_cn.js index cbd64437..b017465e 100644 --- a/web/src/lang/zh_cn.js +++ b/web/src/lang/zh_cn.js @@ -38,7 +38,12 @@ export default { isEnableNodeRichText: '是否开启节点富文本编辑', mousewheelAction: '鼠标滚轮行为', zoomView: '缩放视图', - moveViewUpDown: '上下移动视图' + moveViewUpDown: '上下移动视图', + associativeLine: '关联线', + associativeLineWidth: '粗细', + associativeLineColor: '颜色', + associativeLineActiveWidth: '激活粗细', + associativeLineActiveColor: '激活颜色' }, color: { moreColor: '更多颜色' @@ -187,7 +192,8 @@ export default { saveAs: '另存为', import: '导入', export: '导出', - shortcutKey: '快捷键' + shortcutKey: '快捷键', + associativeLine: '关联线', }, edit: { newFeatureNoticeTitle: '新特性提醒', diff --git a/web/src/pages/Edit/components/BaseStyle.vue b/web/src/pages/Edit/components/BaseStyle.vue index 4156585e..a901d4c0 100644 --- a/web/src/pages/Edit/components/BaseStyle.vue +++ b/web/src/pages/Edit/components/BaseStyle.vue @@ -209,6 +209,92 @@ + +