Merge pull request #7336 from wibetter/master

fix(amis): 更新input-sub-form snapshot
This commit is contained in:
刘丹 2023-07-03 18:30:07 +08:00 committed by GitHub
commit d6a9d5ce5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 16 deletions

View File

@ -1291,6 +1291,8 @@ export class EditorManager {
}
store.changeValue(value, diff);
this.trigger('after-update', context);
}
/**

View File

@ -357,13 +357,7 @@ exports[`Renderer:InputSubForm with addButtonClassName & itemsClassName & itemCl
<span
class="cxd-SubForm-valueLabel"
>
<span
class="cxd-TplField"
>
<span>
设置
</span>
</span>
设置
</span>
<a
class="cxd-SubForm-valueEdit"
@ -390,13 +384,7 @@ exports[`Renderer:InputSubForm with addButtonClassName & itemsClassName & itemCl
<span
class="cxd-SubForm-valueLabel"
>
<span
class="cxd-TplField"
>
<span>
设置
</span>
</span>
设置
</span>
<a
class="cxd-SubForm-valueEdit"

View File

@ -451,7 +451,7 @@ export default class SubFormControl extends React.PureComponent<
labelField &&
item[labelField] &&
stripTag(item[labelField])) ||
defaultLabel)}
__(defaultLabel))}
</span>
<a
data-index={key}
@ -556,7 +556,7 @@ export default class SubFormControl extends React.PureComponent<
labelField &&
value[labelField] &&
stripTag(value[labelField])) ||
defaultLabel)}
__(defaultLabel))}
</span>
<a className={cx('SubForm-valueEdit')}>
<Icon icon="pencil" className="icon" />