mirror of
https://github.com/certd/certd.git
synced 2026-04-21 02:20:52 +08:00
🔱: [client] sync upgrade with 2 commits [trident-sync]
chore:
This commit is contained in:
@@ -108,9 +108,11 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
|
||||
editable: {
|
||||
mode: "cell",
|
||||
exclusive: true,
|
||||
exclusiveEffect: "cancel",
|
||||
//排他式激活效果,将其他行的编辑状态触发保存
|
||||
exclusiveEffect: "save",
|
||||
async updateCell(opts) {
|
||||
const { row, key, value } = opts;
|
||||
//如果是添加,需要返回{[rowKey]:xxx},比如:{id:2}
|
||||
return await api.UpdateCell(row.id, key, value);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user