mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-22 23:19:36 +08:00
fix(charts): chartColors -> chartColor.value
This commit is contained in:
parent
aa25962d8d
commit
1bd40889a5
|
@ -390,10 +390,10 @@ export default defineComponent({
|
|||
BUY_COLUMNS,
|
||||
onCurrencyChange(checkedValues: string[]) {
|
||||
currentMonth.value = getThisMonth(checkedValues);
|
||||
monitorChart.setOption(getLineChartDataSet({ dateTime: checkedValues, ...chartColors }));
|
||||
monitorChart.setOption(getLineChartDataSet({ dateTime: checkedValues, ...chartColors.value }));
|
||||
},
|
||||
onStokeDataChange(checkedValues: string[]) {
|
||||
stokeChart.setOption(constructInitDataset({ dateTime: checkedValues, ...chartColors }));
|
||||
stokeChart.setOption(constructInitDataset({ dateTime: checkedValues, ...chartColors.value }));
|
||||
},
|
||||
rehandleClickOp(val: MouseEvent) {
|
||||
console.log(val);
|
||||
|
|
|
@ -168,7 +168,7 @@ export default defineComponent({
|
|||
});
|
||||
|
||||
const onAlertChange = () => {
|
||||
dataChart.setOption(get2ColBarChartDataSet({ ...chartColors }));
|
||||
dataChart.setOption(get2ColBarChartDataSet({ ...chartColors.value }));
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user