Skip to content

Commit c113ea6

Browse files
committed
echarts removed unused code -1
1 parent f88e8a7 commit c113ea6

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

client/packages/lowcoder-comps/src/comps/eChartsComp/echartsComp.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -309,14 +309,7 @@ let EChartsComp = withExposingConfigs(EChartsTmpComp, [
309309
name: "data",
310310
desc: trans("chart.dataDesc"),
311311
depKeys: ["data", "mode"],
312-
func: (input) => {
313-
if (input.mode === "ui") {
314-
return input.data;
315-
} else {
316-
// no data in json mode
317-
return [];
318-
}
319-
},
312+
func: (input) =>[] ,
320313
}),
321314
new NameConfig("title", trans("chart.titleDesc")),
322315
]);

0 commit comments

Comments
 (0)