NEZ-3057 feat:chart text 图表支持markdown格式

This commit is contained in:
zyh
2023-08-22 09:39:19 +08:00
parent f6e4da1991
commit 06a47601ea
10 changed files with 162 additions and 10 deletions

View File

@@ -648,6 +648,9 @@ export default {
}
}
}
if (this.chart.type == 'text' && !this.chart.param.editorType) {
this.chart.param.editorType = 'richText'
}
} else {
this.rightBox.loading = true
this.$get('visual/dashboard/chart/' + data.id).then(res => {
@@ -711,6 +714,9 @@ export default {
}
}
}
if (this.chart.type == 'text' && !this.chart.param.editorType) {
this.chart.param.editorType = 'richText'
}
setTimeout(() => {
this.$refs.addChartModal.isStable = 'stable'
})