From 0faaa9d34bea342c31439d78222c10bb31c4359c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Thu, 12 Oct 2023 15:08:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=8C=89=E9=92=AE=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/disposition/defaultButtons.ts | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/utils/disposition/defaultButtons.ts b/src/utils/disposition/defaultButtons.ts index e4a6f1c21..4fc3a28bf 100644 --- a/src/utils/disposition/defaultButtons.ts +++ b/src/utils/disposition/defaultButtons.ts @@ -98,7 +98,8 @@ export function defaultResetBtn(option:any) { type: 'info', icon: '', color: '', - float:'right' + float:'right', + hasPermi: '' }) } @@ -111,7 +112,8 @@ export function defaultFilterBtn(option:any) { type: 'info', icon: 'Operation', color: '', - float:'right' + float:'right', + hasPermi: '' }) } @@ -124,7 +126,8 @@ export function formSaveBtn(option:any) { type: 'primary', icon: 'ep:select', color: '', - float:'right' + float:'right', + hasPermi: '' }) } @@ -134,9 +137,10 @@ export function formCloseBtn(option:any) { label: '关闭', name: 'close', hide: false, - icon: 'ep:closeBold', + icon: 'ep:close', color: '', - float:'right' + float:'right', + hasPermi: '' }) } @@ -148,7 +152,8 @@ export function drawerEditBtn(option:any) { hide: false, type: 'warning', icon: 'ep:editPen', - color: '' + color: '', + hasPermi: '' }) } @@ -160,7 +165,8 @@ export function drawerDeleteBtn(option:any) { hide: false, type: 'danger', icon: 'ep:delete', - color: '' + color: '', + hasPermi: '' }) }