diff --git a/web/src/lang/en_us.js b/web/src/lang/en_us.js index 5f4d2daf..31cd12de 100644 --- a/web/src/lang/en_us.js +++ b/web/src/lang/en_us.js @@ -11,6 +11,7 @@ export default { width: 'Width', style: 'Style', lineOfOutline: 'Line of outline', + showArrow: 'Is show arrow', nodePadding: 'Node padding', nodeMargin: 'Node margin', horizontal: 'Horizontal', diff --git a/web/src/lang/zh_cn.js b/web/src/lang/zh_cn.js index 316aabc3..5482a1e7 100644 --- a/web/src/lang/zh_cn.js +++ b/web/src/lang/zh_cn.js @@ -11,6 +11,7 @@ export default { width: '粗细', style: '风格', lineOfOutline: '概要的连线', + showArrow: '是否显示箭头', nodePadding: '节点内边距', nodeMargin: '节点外边距', horizontal: '水平', diff --git a/web/src/pages/Edit/components/BaseStyle.vue b/web/src/pages/Edit/components/BaseStyle.vue index cf93144a..6a2c7664 100644 --- a/web/src/pages/Edit/components/BaseStyle.vue +++ b/web/src/pages/Edit/components/BaseStyle.vue @@ -199,6 +199,19 @@ +
+
+ {{ $t('baseStyle.showArrow') }} +
+
{{ $t('baseStyle.lineOfOutline') }}
@@ -857,6 +870,7 @@ export default { lineColor: '', lineWidth: '', lineStyle: '', + showLineMarker: '', rootLineKeepSameInCurve: '', generalizationLineWidth: '', generalizationLineColor: '', @@ -975,6 +989,7 @@ export default { 'backgroundColor', 'lineWidth', 'lineStyle', + 'showLineMarker', 'rootLineKeepSameInCurve', 'lineColor', 'generalizationLineWidth', @@ -1030,9 +1045,11 @@ export default { // 初始化水印配置 initWatermark() { let config = this.mindMap.getConfig('watermarkConfig') - ;['text', 'lineSpacing', 'textSpacing', 'angle', 'onlyExport'].forEach(key => { - this.watermarkConfig[key] = config[key] - }) + ;['text', 'lineSpacing', 'textSpacing', 'angle', 'onlyExport'].forEach( + key => { + this.watermarkConfig[key] = config[key] + } + ) this.watermarkConfig.show = !!config.text this.watermarkConfig.textStyle = { ...config.textStyle } },