fix: 修复 quickEditor 通信找不到的问题(由 #8206 引发优先级乱了)

This commit is contained in:
2betop 2023-11-22 21:04:03 +08:00
parent 8f1638cce8
commit d2c883f504
2 changed files with 2 additions and 3 deletions

View File

@ -1197,8 +1197,7 @@ test('Renderer:table-column-quickEdit-inline', async () => {
type: 'switch',
quickEdit: {
type: 'switch',
mode: 'inline',
id: 'u:4201a414cde3'
mode: 'inline'
}
},
{

View File

@ -448,8 +448,8 @@ export const HocQuickEdit =
{
type: quickEdit.type || 'input-text',
name: quickEdit.name || name,
...quickEdit,
...(isline ? {id: id} : {}),
...quickEdit,
mode: undefined
}
]