mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 03:28:20 +08:00
fix: 测试:【组件优化第五批】穿梭框表格形式下添加表格行只对表格下的最后一行为空进行校验; amis-saas-7219
Change-Id: I868eae5155957ad1c47e2217d077360d310b3f80
This commit is contained in:
parent
3122b5b0c8
commit
e058192010
@ -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