diff --git a/web/src/assets/icon-font/iconfont.css b/web/src/assets/icon-font/iconfont.css index a4eb7f52..caf31fde 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=1709781789605') format('woff2'), - url('iconfont.woff?t=1709781789605') format('woff'), - url('iconfont.ttf?t=1709781789605') format('truetype'); + src: url('iconfont.woff2?t=1711432586441') format('woff2'), + url('iconfont.woff?t=1711432586441') format('woff'), + url('iconfont.ttf?t=1711432586441') format('truetype'); } .iconfont { @@ -13,6 +13,14 @@ -moz-osx-font-smoothing: grayscale; } +.icongundongtiao:before { + content: "\e670"; +} + +.iconxietongwendang:before { + content: "\e60d"; +} + .iconTXT:before { content: "\e6e1"; } diff --git a/web/src/assets/icon-font/iconfont.ttf b/web/src/assets/icon-font/iconfont.ttf index f510a613..6d3d2a22 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 5eb487ba..fca7f01b 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 0ab2131d..8e5aa788 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/pages/Doc/en/changelog/index.md b/web/src/pages/Doc/en/changelog/index.md index c359db7f..a1983c76 100644 --- a/web/src/pages/Doc/en/changelog/index.md +++ b/web/src/pages/Doc/en/changelog/index.md @@ -2,6 +2,10 @@ ## 0.9.9 +Fix: + +> 1.Fix the issue of incorrect arrow color when creating association lines for the first time; + New: > 1.Support inserting child nodes with the insert key; @@ -17,6 +21,8 @@ New: > 6.Add the getAncestorNodes method to the node instance to obtain the list of ancestor nodes; > > 7.Adding mouse events to personnel avatars during collaborative editing; +> +> 8.Instantiation and setData methods support passing in empty data; Demo: diff --git a/web/src/pages/Doc/en/changelog/index.vue b/web/src/pages/Doc/en/changelog/index.vue index 954c91a3..19bb4ba3 100644 --- a/web/src/pages/Doc/en/changelog/index.vue +++ b/web/src/pages/Doc/en/changelog/index.vue @@ -2,6 +2,10 @@
Fix:
++1.Fix the issue of incorrect arrow color when creating association lines for the first time;
+
New:
1.Support inserting child nodes with the insert key;
@@ -11,6 +15,7 @@5.Add mouse in and out events to icons in nodes;
6.Add the getAncestorNodes method to the node instance to obtain the list of ancestor nodes;
7.Adding mouse events to personnel avatars during collaborative editing;
+8.Instantiation and setData methods support passing in empty data;
Demo:
diff --git a/web/src/pages/Doc/en/constructor/index.md b/web/src/pages/Doc/en/constructor/index.md index bd1c5113..3026151a 100644 --- a/web/src/pages/Doc/en/constructor/index.md +++ b/web/src/pages/Doc/en/constructor/index.md @@ -25,7 +25,7 @@ const mindMap = new MindMap({ | Field Name | Type | Default Value | Description | Required | | -------------------------------- | ------- | ---------------- | ------------------------------------------------------------ | -------- | | el | Element | | Container element, must be a DOM element | Yes | -| data | Object | {} | Mind map data, Please refer to the introduction of 【Data structure】 below | | +| data | Object 、null | | Mind map data, Please refer to the introduction of 【Data structure】 below. V0.9.9+supports passing empty objects or null, and the canvas will display blank space | | | layout | String | logicalStructure | Layout type, options: logicalStructure (logical structure diagram), mindMap (mind map), catalogOrganization (catalog organization diagram), organizationStructure (organization structure diagram)、timeline(v0.5.4+, timeline)、timeline2(v0.5.4+, up down alternating timeline)、fishbone(v0.5.4+, fishbone diagram) | | | fishboneDeg(v0.5.4+) | Number | 45 | Set the diagonal angle of the fishbone structure diagram | | | theme | String | default | Theme, options: default, classic, minions, pinkGrape, mint, gold, vitalityOrange, greenLeaf, dark2, skyGreen, classic2, classic3, classic4(v0.2.0+), classicGreen, classicBlue, blueSky, brainImpairedPink, dark, earthYellow, freshGreen, freshRed, romanticPurple, simpleBlack(v0.5.4+), courseGreen(v0.5.4+), coffee(v0.5.4+), redSpirit(v0.5.4+), blackHumour(v0.5.4+), lateNightOffice(v0.5.4+), blackGold(v0.5.4+)、、avocado(v.5.10-fix.2+)、autumn(v.5.10-fix.2+)、orangeJuice(v.5.10-fix.2+) | | @@ -563,7 +563,7 @@ redo. All commands are as follows: Dynamic setting of mind map data, pure node data -`data`: mind map structure data +`data`: mind map structure data. V0.9.9+ supports passing empty objects or null, and the canvas will display blank space. ### setFullData(_data_) diff --git a/web/src/pages/Doc/en/constructor/index.vue b/web/src/pages/Doc/en/constructor/index.vue index bfaf65f5..7c79c91a 100644 --- a/web/src/pages/Doc/en/constructor/index.vue +++ b/web/src/pages/Doc/en/constructor/index.vue @@ -37,9 +37,9 @@data -Object -{} -Mind map data, Please refer to the introduction of 【Data structure】 below +Object 、null ++ Mind map data, Please refer to the introduction of 【Data structure】 below. V0.9.9+supports passing empty objects or null, and the canvas will display blank space @@ -1474,7 +1474,7 @@ redo. All commands are as follows: setData(data)
Dynamic setting of mind map data, pure node data
-+
data: mind map structure data
data: mind map structure data. V0.9.9+ supports passing empty objects or null, and the canvas will display blank space.setFullData(data)
v0.2.7+
diff --git a/web/src/pages/Doc/zh/changelog/index.md b/web/src/pages/Doc/zh/changelog/index.md index 5438ce89..7b169098 100644 --- a/web/src/pages/Doc/zh/changelog/index.md +++ b/web/src/pages/Doc/zh/changelog/index.md @@ -2,6 +2,10 @@ ## 0.9.9 +修复: + +> 1.修复第一次创建关联线时,箭头颜色不正确的问题; + 新增: > 1.支持insert键插入下级节点; @@ -17,6 +21,8 @@ > 6.节点实例新增getAncestorNodes方法用于获取祖先节点列表; > > 7.协同编辑时的人员头像增加鼠标事件; +> +> 8.实例化及setData方法支持传入空的data; Demo: diff --git a/web/src/pages/Doc/zh/changelog/index.vue b/web/src/pages/Doc/zh/changelog/index.vue index 38240597..3da51d66 100644 --- a/web/src/pages/Doc/zh/changelog/index.vue +++ b/web/src/pages/Doc/zh/changelog/index.vue @@ -2,6 +2,10 @@Changelog
0.9.9
+修复:
++1.修复第一次创建关联线时,箭头颜色不正确的问题;
+新增:
1.支持insert键插入下级节点;
@@ -11,6 +15,7 @@5.节点中的图标添加鼠标移入和移出事件;
6.节点实例新增getAncestorNodes方法用于获取祖先节点列表;
7.协同编辑时的人员头像增加鼠标事件;
+8.实例化及setData方法支持传入空的data;
Demo:
diff --git a/web/src/pages/Doc/zh/constructor/index.md b/web/src/pages/Doc/zh/constructor/index.md index 8d30c8cf..d493f0f8 100644 --- a/web/src/pages/Doc/zh/constructor/index.md +++ b/web/src/pages/Doc/zh/constructor/index.md @@ -25,7 +25,7 @@ const mindMap = new MindMap({ | 字段名称 | 类型 | 默认值 | 描述 | | -------------------------------- | ------- | ---------------- | ------------------------------------------------------------ | | el | Element | | 容器元素,必传,必须为DOM元素 | -| data | Object | {} | 思维导图数据,可参考下方【数据结构】介绍 | +| data | Object 、 null | | 思维导图数据,可参考下方【数据结构】介绍。v0.9.9+支持传空对象或者null,画布会显示空白 | | layout | String | logicalStructure | 布局类型,可选列表:logicalStructure(逻辑结构图)、mindMap(思维导图)、catalogOrganization(目录组织图)、organizationStructure(组织结构图)、timeline(v0.5.4+,时间轴)、timeline2(v0.5.4+,上下交替型时间轴)、fishbone(v0.5.4+,鱼骨图) | | fishboneDeg(v0.5.4+) | Number | 45 | 设置鱼骨结构图的斜线角度 | | theme | String | default | 主题,可选列表:default(默认)、classic(脑图经典)、minions(小黄人)、pinkGrape(粉红葡萄)、mint(薄荷)、gold(金色vip)、vitalityOrange(活力橙)、greenLeaf(绿叶)、dark2(暗色2)、skyGreen(天清绿)、classic2(脑图经典2)、classic3(脑图经典3)、classic4(脑图经典4,v0.2.0+)、classicGreen(经典绿)、classicBlue(经典蓝)、blueSky(天空蓝)、brainImpairedPink(脑残粉)、dark(暗色)、earthYellow(泥土黄)、freshGreen(清新绿)、freshRed(清新红)、romanticPurple(浪漫紫)、simpleBlack(v0.5.4+简约黑)、courseGreen(v0.5.4+课程绿)、coffee(v0.5.4+咖啡)、redSpirit(v0.5.4+红色精神)、blackHumour(v0.5.4+黑色幽默)、lateNightOffice(v0.5.4+深夜办公室)、blackGold(v0.5.4+黑金)、avocado(v.5.10-fix.2+牛油果)、autumn(v.5.10-fix.2+秋天)、orangeJuice(v.5.10-fix.2+橙汁) | @@ -558,7 +558,7 @@ mindMap.updateConfig({ 动态设置思维导图数据,纯节点数据 -`data`:思维导图结构数据 +`data`:思维导图结构数据。v0.9.9+支持传空对象或者null,画布会显示空白。 ### setFullData(*data*) diff --git a/web/src/pages/Doc/zh/constructor/index.vue b/web/src/pages/Doc/zh/constructor/index.vue index ad4a0eaf..3ad712e4 100644 --- a/web/src/pages/Doc/zh/constructor/index.vue +++ b/web/src/pages/Doc/zh/constructor/index.vue @@ -35,9 +35,9 @@data -Object -{} -思维导图数据,可参考下方【数据结构】介绍 +Object 、 null ++ 思维导图数据,可参考下方【数据结构】介绍。v0.9.9+支持传空对象或者null,画布会显示空白 layout @@ -1370,7 +1370,7 @@ mindMap.setTheme('主题名称')setData(data)
动态设置思维导图数据,纯节点数据
-+
data:思维导图结构数据
data:思维导图结构数据。v0.9.9+支持传空对象或者null,画布会显示空白。setFullData(data)
v0.2.7+
diff --git a/web/src/pages/Index/components/Block2.vue b/web/src/pages/Index/components/Block2.vue index d7c48a0e..7cacb01a 100644 --- a/web/src/pages/Index/components/Block2.vue +++ b/web/src/pages/Index/components/Block2.vue @@ -42,11 +42,11 @@ export default { dataList: [ { icon: 'iconstar', - value: 'Github star数量2000+' + value: 'Github star数量3000+' }, { icon: 'iconfork', - value: 'Github fork数量250+' + value: 'Github fork数量400+' }, { icon: 'iconxiazai', @@ -54,7 +54,7 @@ export default { }, { icon: 'iconteamwork', - value: '代码贡献者14+' + value: '代码贡献者16+' } ], functionList: [ @@ -149,6 +149,21 @@ export default { icon: 'iconshezhi', name: '丰富的设置', value: '提供了丰富的功能设置,可以选择合适你的操作行为。' + }, + { + icon: 'iconxietongwendang', + name: '协同编辑', + value: '支持协同编辑,方便多人同时编辑同一个文件。' + }, + { + icon: 'icongongshi', + name: '数学公式', + value: '支持传入数学公式,省去截图的麻烦。' + }, + { + icon: 'icongundongtiao', + name: '滚动条', + value: '支持显示滚动条,轻松拖动画布到指定位置。' } ] }