mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 09:21:13 +08:00
Merge "fix: 测试:【组件优化第五批】穿梭框表格形式下添加表格行只对表格下的最后一行为空进行校验; amis-saas-7219" into feat-optimize-5
This commit is contained in:
commit
d5ef2fed91
@ -286,7 +286,7 @@ const renderInput = (
|
||||
name: string,
|
||||
placeholder: string,
|
||||
required: boolean = true,
|
||||
unique: Boolean = false
|
||||
unique: boolean = false
|
||||
) => {
|
||||
return {
|
||||
type: 'input-text',
|
||||
@ -450,7 +450,7 @@ export default class TransferTableOption extends React.Component<
|
||||
const keys = value.map(item => item.name);
|
||||
data.options = data.options.map((item: Option) => {
|
||||
return {
|
||||
...keys.reduce((pv, cv, idx) => {
|
||||
...keys.reduce((pv, cv) => {
|
||||
pv[cv] = item[cv];
|
||||
return pv;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user