fix(editor): 迭代器容器子项条件配置中值输入类型

This commit is contained in:
roymondchen 2024-07-01 19:33:22 +08:00
parent c089adae9e
commit 022c10f2df
2 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ const config = computed<GroupListConfig>(() => ({
{ {
name: 'value', name: 'value',
type: (mForm, { model }) => { type: (mForm, { model }) => {
const [id, ...fieldNames] = model.field; const [id, ...fieldNames] = [...parentFields.value, ...model.field];
const ds = dataSourceService?.getDataSourceById(id); const ds = dataSourceService?.getDataSourceById(id);

View File

@ -774,7 +774,7 @@ export type PropsFormValueFunction = (data: { editorService: EditorService }) =>
export type PartSortableOptions = Omit<Options, 'onStart' | 'onUpdate'>; export type PartSortableOptions = Omit<Options, 'onStart' | 'onUpdate'>;
export interface PageBarSortOptions extends PartSortableOptions { export interface PageBarSortOptions extends PartSortableOptions {
/** 在onUpdate之后调用 */ /** 在onUpdate之后调用 */
afterUpdate: (event: SortableEvent, sortable: Sortable) => void; afterUpdate?: (event: SortableEvent, sortable: Sortable) => void;
/** 在onStart之前调用 */ /** 在onStart之前调用 */
beforeStart: (event: SortableEvent, sortable: Sortable) => void; beforeStart?: (event: SortableEvent, sortable: Sortable) => void;
} }