forked from github/dataease
fix: 颜色选择器去掉清空;矩形树图标签修复;doris 计算字段支持小数
This commit is contained in:
parent
cdee8d66f9
commit
5d36a577b4
@ -121,6 +121,8 @@ public class DorisQueryProvider extends QueryProvider {
|
|||||||
fieldName = String.format(DorisConstants.FROM_UNIXTIME, cast, DorisConstants.DEFAULT_DATE_FORMAT);
|
fieldName = String.format(DorisConstants.FROM_UNIXTIME, cast, DorisConstants.DEFAULT_DATE_FORMAT);
|
||||||
} else if (f.getDeType() == 2) {
|
} else if (f.getDeType() == 2) {
|
||||||
fieldName = String.format(DorisConstants.CAST, originField, DorisConstants.DEFAULT_INT_FORMAT);
|
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 {
|
} else {
|
||||||
fieldName = originField;
|
fieldName = originField;
|
||||||
}
|
}
|
||||||
|
@ -349,3 +349,7 @@ div:focus {
|
|||||||
width: 5px;
|
width: 5px;
|
||||||
height: 5px;
|
height: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-color-dropdown__link-btn {
|
||||||
|
display: none!important;
|
||||||
|
}
|
||||||
|
@ -54,6 +54,7 @@ export function baseTreemapOption(chart_option, chart) {
|
|||||||
// y.type = 'treemap'
|
// y.type = 'treemap'
|
||||||
chart_option.series[0].data.push(y)
|
chart_option.series[0].data.push(y)
|
||||||
}
|
}
|
||||||
|
chart_option.series[0].name = chart.data.series[0].name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// console.log(chart_option);
|
// console.log(chart_option);
|
||||||
|
Loading…
Reference in New Issue
Block a user