fix: 颜色选择器去掉清空;矩形树图标签修复;doris 计算字段支持小数

This commit is contained in:
junjie 2021-08-27 18:21:02 +08:00
parent cdee8d66f9
commit 5d36a577b4
3 changed files with 7 additions and 0 deletions

View File

@ -121,6 +121,8 @@ public class DorisQueryProvider extends QueryProvider {
fieldName = String.format(DorisConstants.FROM_UNIXTIME, cast, DorisConstants.DEFAULT_DATE_FORMAT);
} else if (f.getDeType() == 2) {
fieldName = String.format(DorisConstants.CAST, originField, DorisConstants.DEFAULT_INT_FORMAT);
} else if (f.getDeType() == 3) {
fieldName = String.format(DorisConstants.CAST, originField, DorisConstants.DEFAULT_FLOAT_FORMAT);
} else {
fieldName = originField;
}

View File

@ -349,3 +349,7 @@ div:focus {
width: 5px;
height: 5px;
}
.el-color-dropdown__link-btn {
display: none!important;
}

View File

@ -54,6 +54,7 @@ export function baseTreemapOption(chart_option, chart) {
// y.type = 'treemap'
chart_option.series[0].data.push(y)
}
chart_option.series[0].name = chart.data.series[0].name
}
}
// console.log(chart_option);