mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 12:29:24 +08:00
Merge pull request #7336 from wibetter/master
fix(amis): 更新input-sub-form snapshot
This commit is contained in:
commit
d6a9d5ce5c
@ -1291,6 +1291,8 @@ export class EditorManager {
|
||||
}
|
||||
|
||||
store.changeValue(value, diff);
|
||||
|
||||
this.trigger('after-update', context);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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"
|
||||
|
@ -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" />
|
||||
|
Loading…
Reference in New Issue
Block a user