Skip to content

Commit f4648f7

Browse files
committed
fix(chart): save comType into backend chart config model and fix chart reference panel
1 parent 1f80b2b commit f4648f7

File tree

4 files changed

+339
-338
lines changed

4 files changed

+339
-338
lines changed

frontend/src/app/components/FormGenerator/Basic/BasicUnControlledTabPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const BasicUnControlledTabPanel: FC<ItemLayoutProps<ChartStyleConfig>> = memo(
7777

7878
const [activeTabKey, setActiveTabKey] = useState<string | undefined>();
7979
const [paneTemplate] = useState(() => {
80-
const firstRow = (myData?.rows || [])[0];
80+
const firstRow = myData?.template;
8181
return cleanChartConfigValueByDefaultValue([CloneValueDeep(firstRow)])[0];
8282
});
8383

0 commit comments

Comments
 (0)