diff --git a/web/src/assets/icon-font/iconfont.css b/web/src/assets/icon-font/iconfont.css
index a7b6d1bc..063864fb 100644
--- a/web/src/assets/icon-font/iconfont.css
+++ b/web/src/assets/icon-font/iconfont.css
@@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 2479351 */
- src: url('iconfont.woff2?t=1711536835850') format('woff2'),
- url('iconfont.woff?t=1711536835850') format('woff'),
- url('iconfont.ttf?t=1711536835850') format('truetype');
+ src: url('iconfont.woff2?t=1711935414521') format('woff2'),
+ url('iconfont.woff?t=1711935414521') format('woff'),
+ url('iconfont.ttf?t=1711935414521') format('truetype');
}
.iconfont {
@@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale;
}
+.iconfujian:before {
+ content: "\e88a";
+}
+
.icongeshihua:before {
content: "\e7a3";
}
diff --git a/web/src/assets/icon-font/iconfont.ttf b/web/src/assets/icon-font/iconfont.ttf
index 530a259c..bb0fbedf 100644
Binary files a/web/src/assets/icon-font/iconfont.ttf and b/web/src/assets/icon-font/iconfont.ttf differ
diff --git a/web/src/assets/icon-font/iconfont.woff b/web/src/assets/icon-font/iconfont.woff
index 670ceb03..fdb5ff4b 100644
Binary files a/web/src/assets/icon-font/iconfont.woff and b/web/src/assets/icon-font/iconfont.woff differ
diff --git a/web/src/assets/icon-font/iconfont.woff2 b/web/src/assets/icon-font/iconfont.woff2
index f330a8bb..4225466d 100644
Binary files a/web/src/assets/icon-font/iconfont.woff2 and b/web/src/assets/icon-font/iconfont.woff2 differ
diff --git a/web/src/lang/en_us.js b/web/src/lang/en_us.js
index 235fdcee..4720e297 100644
--- a/web/src/lang/en_us.js
+++ b/web/src/lang/en_us.js
@@ -259,6 +259,7 @@ export default {
associativeLine: 'Associative line',
painter: 'Painter',
formula: 'Formula',
+ attachment: 'Attachment',
more: 'More',
selectFileTip: 'Please select a file',
notSupportTip:
@@ -331,5 +332,8 @@ export default {
formatErrorTip: 'The JSON format is incorrect. Please check and try again',
copyTip: 'Copied to clipboard',
formatTip: 'Format complete'
+ },
+ attachment: {
+ deleteAttachment: 'Delete attachment'
}
}
diff --git a/web/src/lang/zh_cn.js b/web/src/lang/zh_cn.js
index 630eef93..2a6ad3bd 100644
--- a/web/src/lang/zh_cn.js
+++ b/web/src/lang/zh_cn.js
@@ -256,6 +256,7 @@ export default {
associativeLine: '关联线',
painter: '格式刷',
formula: '公式',
+ attachment: '附件',
more: '更多',
selectFileTip: '请选择文件',
notSupportTip: '你的浏览器不支持该功能,或者当前页面非https协议',
@@ -325,5 +326,8 @@ export default {
formatErrorTip: 'JSON格式有误,请检查后再试',
copyTip: '已复制到剪贴板',
formatTip: '格式化完成'
+ },
+ attachment: {
+ deleteAttachment: '删除附件'
}
}
diff --git a/web/src/pages/Edit/components/Contextmenu.vue b/web/src/pages/Edit/components/Contextmenu.vue
index 42934637..6caa2cca 100644
--- a/web/src/pages/Edit/components/Contextmenu.vue
+++ b/web/src/pages/Edit/components/Contextmenu.vue
@@ -221,6 +221,7 @@ export default {
this.$bus.$on('expand_btn_click', this.hide)
this.$bus.$on('svg_mousedown', this.onMousedown)
this.$bus.$on('mouseup', this.onMouseup)
+ this.$bus.$on('translate', this.hide)
},
beforeDestroy() {
this.$bus.$off('node_contextmenu', this.show)
@@ -229,6 +230,7 @@ export default {
this.$bus.$off('expand_btn_click', this.hide)
this.$bus.$off('svg_mousedown', this.onMousedown)
this.$bus.$off('mouseup', this.onMouseup)
+ this.$bus.$off('translate', this.hide)
},
methods: {
...mapMutations(['setLocalConfig']),
diff --git a/web/src/pages/Edit/components/Edit.vue b/web/src/pages/Edit/components/Edit.vue
index 309c9f1c..a68b7790 100644
--- a/web/src/pages/Edit/components/Edit.vue
+++ b/web/src/pages/Edit/components/Edit.vue
@@ -16,6 +16,7 @@
v-if="mindMap"
:mindMap="mindMap"
>
+