forked from github/dataease
feat(frontend):饼图不继承玫瑰图圆角;sql数据集代码修复
This commit is contained in:
parent
306b046ded
commit
957d2af7c2
@ -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
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user