mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08: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 chartType = useDefaultChartType();
|
||||||
const form = useMemo(
|
const form = useMemo(
|
||||||
() => {
|
() => {
|
||||||
const decoratorProps = initialValues || field?.decoratorProps;
|
const decoratorProps = initialValues || schema?.['x-decorator-props'];
|
||||||
const config = decoratorProps?.config || {};
|
const config = decoratorProps?.config || {};
|
||||||
return createForm({
|
return createForm({
|
||||||
values: {
|
values: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user