feat: 更新确认对话框的拒绝按钮属性,优化用户交互体验 [no ci]
This commit is contained in:
@ -62,6 +62,7 @@ export const openConfirm = async () => {
|
||||
header: '确认',
|
||||
icon: 'pi pi-exclamation-triangle',
|
||||
rejectProps: { label: '取消', severity: 'secondary', outlined: true },
|
||||
// rejectProps: { style: { display: 'none' } },
|
||||
acceptProps: { label: '确定' },
|
||||
accept: () => {
|
||||
ToastService.add({ severity: 'info', summary: '已确认', life: 3000, detail: '您已同意操作' });
|
||||
|
Reference in New Issue
Block a user