mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
Merge pull request #9670 from CheshireJCat/fix-editor-transferTable-valueTpl-is-undefined-after-change-tableColumn
fix: editor-修复穿梭器表格形式设置表格列不填写字段名时valueTpl为undefined的问题
This commit is contained in:
commit
eda180963a
@ -324,7 +324,7 @@ export default class TransferTableOption extends React.Component<
|
||||
return {
|
||||
type: 'action',
|
||||
actionType: 'dialog',
|
||||
label: '添加表格列',
|
||||
label: '设置表格列',
|
||||
level: 'enhance',
|
||||
dialog: {
|
||||
title: '设置表格列选项',
|
||||
@ -348,12 +348,14 @@ export default class TransferTableOption extends React.Component<
|
||||
{
|
||||
type: 'input-text',
|
||||
name: 'label',
|
||||
placeholder: '标题'
|
||||
placeholder: '标题',
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: 'input-text',
|
||||
name: 'name',
|
||||
placeholder: '绑定字段名'
|
||||
placeholder: '绑定字段名',
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: 'select',
|
||||
@ -417,7 +419,7 @@ export default class TransferTableOption extends React.Component<
|
||||
{
|
||||
type: 'action',
|
||||
actionType: 'dialog',
|
||||
label: '添加表格行',
|
||||
label: '设置表格行',
|
||||
level: 'enhance',
|
||||
disabled: columns && columns.length === 0,
|
||||
block: true,
|
||||
|
Loading…
Reference in New Issue
Block a user