refactor: local impeove (#3367)
This commit is contained in:
parent
7d29c717eb
commit
f38e4bcaa8
@ -68,8 +68,11 @@ export const useCustomizeBulkUpdateActionProps = () => {
|
|||||||
await Promise.all(waitList);
|
await Promise.all(waitList);
|
||||||
|
|
||||||
modal.confirm({
|
modal.confirm({
|
||||||
title: t('Bulk update'),
|
title: t('Bulk update', { ns: 'client' }),
|
||||||
content: updateMode === 'selected' ? t('Update selected data?') : t('Update all data?'),
|
content:
|
||||||
|
updateMode === 'selected'
|
||||||
|
? t('Update selected data?', { ns: 'client' })
|
||||||
|
: t('Update all data?', { ns: 'client' }),
|
||||||
async onOk() {
|
async onOk() {
|
||||||
const { filter } = service.params?.[0] ?? {};
|
const { filter } = service.params?.[0] ?? {};
|
||||||
const updateData: { filter?: any; values: any; forceUpdate: boolean } = {
|
const updateData: { filter?: any; values: any; forceUpdate: boolean } = {
|
||||||
|
Loading…
Reference in New Issue
Block a user