NEZ-839 feat:diagram 图表支持 font 配置 & tooltip 增加 description 配置项及展示

This commit is contained in:
zhangyu
2021-07-19 10:32:03 +08:00
parent 1cf3da9003
commit 1b713493a7
10 changed files with 208 additions and 93 deletions

View File

@@ -1884,7 +1884,7 @@ export default {
}
item.strokeStyle = item.data.strokeStyle
item.animatePlay = false
item.fontColor = '#000000'
item.fontColor = item.data.fontColor || '#222222'
item.gradientType = item.data.gradientType ? item.data.gradientType : 0
if (!item.data.gradientColor) {
item.data.gradientType = 0
@@ -1902,7 +1902,7 @@ export default {
item.fromArrowColor = item.data.arrowColor
item.toArrowColor = item.data.arrowColor
item.animatePlay = false
item.fontColor = '#000000'
item.fontColor = item.data.fontColor || '#22222'
}
})
getTopology(this.topologyIndex).caches = {