fix: chart添加link

This commit is contained in:
zhangyu
2021-12-24 16:06:17 +08:00
parent af51ff5b48
commit aba633242f
5 changed files with 34 additions and 6 deletions

View File

@@ -191,21 +191,25 @@ export default {
case 'group':
this.chartConfig.span = 12
this.chartConfig.param = {
link: this.chartConfig.param.link,
collapse: true
}
break
case 'text':
this.chartConfig.param = {
link: this.chartConfig.param.link,
text: ''
}
break
case 'diagram':
this.chartConfig.param = {
link: this.chartConfig.param.link,
topo: ''
}
break
case 'url':
this.chartConfig.param = {
link: this.chartConfig.param.link,
url: ''
}
break