mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-09 20:57:17 +08:00
style: 优化删除弹窗按钮样式
This commit is contained in:
@@ -80,6 +80,7 @@ export function useTable<T>(api: Api<T>, options?: Options<T>) {
|
||||
Modal.warning({
|
||||
title: options?.title || '提示',
|
||||
content: options?.content || '是否确定删除该条数据?',
|
||||
okButtonProps: { status: 'danger' },
|
||||
hideCancel: false,
|
||||
maskClosable: false,
|
||||
onBeforeOk: onDelete
|
||||
|
Reference in New Issue
Block a user