|
|
@@ -75,7 +75,7 @@ const LineConfigForm = ({ autoRefresh, chartDesigner, dispatch }) => {
|
|
|
{lineConfig.xAxis.column.value && lineConfig.drillable && <FormItem label='钻取层级' {...formItemLayout}>
|
|
|
<DrillList
|
|
|
// 可选钻取字段包括时间、类别类型,且当x轴选择的是时间类型时允许重复作为钻取字段(之后会限制年月周等维度的选择)
|
|
|
- list={columns.filter(c => ['categorical', 'time'].indexOf(c.type) > -1)}
|
|
|
+ list={columns.filter(c => ['time'].indexOf(c.type) > -1)}
|
|
|
value={lineConfig.drillList || []}
|
|
|
onChange={list => {
|
|
|
dispatch({ type: 'chartDesigner/changeField', name: 'lineConfig', value: { ...lineConfig, drillList: list }, autoRefresh });
|