mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 06:46:38 +00:00
fix(data-vi): js expressions in advanced config is not saved
This commit is contained in:
parent
1fcf1320c2
commit
8e20aac7a7
@ -123,7 +123,7 @@ export const ChartConfigure: React.FC<{
|
||||
const chartType = useDefaultChartType();
|
||||
const form = useMemo(
|
||||
() => {
|
||||
const decoratorProps = initialValues || field?.decoratorProps;
|
||||
const decoratorProps = initialValues || schema?.['x-decorator-props'];
|
||||
const config = decoratorProps?.config || {};
|
||||
return createForm({
|
||||
values: {
|
||||
|
Loading…
Reference in New Issue
Block a user