feat(frontend):饼图不继承玫瑰图圆角;sql数据集代码修复

This commit is contained in:
junjie 2021-06-10 11:48:30 +08:00
parent 306b046ded
commit 957d2af7c2
2 changed files with 5 additions and 1 deletions

View File

@ -45,6 +45,9 @@ export function basePieOption(chart_option, chart) {
}
}
}
chart_option.series[0].itemStyle = {
borderRadius: 0
}
// console.log(chart_option);
componentStyle(chart_option, chart)
return chart_option

View File

@ -261,7 +261,8 @@ export default {
dataSourceId: this.dataSource,
type: 'sql',
mode: parseInt(this.mode),
info: '{"sql":"' + this.sql + '"}'
// info: '{"sql":"' + this.sql + '"}',
info: JSON.stringify({ sql: this.sql })
}
post('/dataset/table/update', table).then(response => {
this.$store.dispatch('dataset/setSceneData', new Date().getTime())