mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-23 18:39:20 +08:00
fix(editor): 迭代器容器子项条件配置中值输入类型
This commit is contained in:
parent
c089adae9e
commit
022c10f2df
@ -103,7 +103,7 @@ const config = computed<GroupListConfig>(() => ({
|
||||
{
|
||||
name: 'value',
|
||||
type: (mForm, { model }) => {
|
||||
const [id, ...fieldNames] = model.field;
|
||||
const [id, ...fieldNames] = [...parentFields.value, ...model.field];
|
||||
|
||||
const ds = dataSourceService?.getDataSourceById(id);
|
||||
|
||||
|
@ -774,7 +774,7 @@ export type PropsFormValueFunction = (data: { editorService: EditorService }) =>
|
||||
export type PartSortableOptions = Omit<Options, 'onStart' | 'onUpdate'>;
|
||||
export interface PageBarSortOptions extends PartSortableOptions {
|
||||
/** 在onUpdate之后调用 */
|
||||
afterUpdate: (event: SortableEvent, sortable: Sortable) => void;
|
||||
afterUpdate?: (event: SortableEvent, sortable: Sortable) => void;
|
||||
/** 在onStart之前调用 */
|
||||
beforeStart: (event: SortableEvent, sortable: Sortable) => void;
|
||||
beforeStart?: (event: SortableEvent, sortable: Sortable) => void;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user