|
@@ -144,7 +144,8 @@ const action = {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 20250603 删除数据提示信息增加删除数据的数量提示
|
|
// 20250603 删除数据提示信息增加删除数据的数量提示
|
|
|
- const newConfirmMsg = confirmMsg.replace('该数据', `已选中的${selection.split(',')?.length}条数据`)
|
|
|
|
|
|
|
+ const isDefaultMsg = confirmMsg === I18n.t('common.dialog.removeRecord')
|
|
|
|
|
+ const newConfirmMsg = isArray || !isDefaultMsg ? confirmMsg : confirmMsg.replace('该数据', `已选中的${selection.split(',')?.length}条数据`)
|
|
|
MessageBox.confirm(newConfirmMsg, I18n.t('common.dialog.title'), {
|
|
MessageBox.confirm(newConfirmMsg, I18n.t('common.dialog.title'), {
|
|
|
type: 'warning'
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
}).then(() => {
|