mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-27 12:22:09 +08:00
fix(editor): 迭代器容器子项条件配置中值输入类型
This commit is contained in:
parent
c089adae9e
commit
022c10f2df
@ -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);
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user