update: 按钮新增danger属性
This commit is contained in:
parent
8cd2b8644e
commit
552af71c39
|
|
@ -121,6 +121,7 @@
|
|||
:key="i.key"
|
||||
>
|
||||
<PermissionButton
|
||||
:danger="i.key === 'delete'"
|
||||
:disabled="i.disabled"
|
||||
:popConfirm="i.popConfirm"
|
||||
:tooltip="{
|
||||
|
|
|
|||
|
|
@ -79,8 +79,10 @@
|
|||
:disabled="i.disabled"
|
||||
style="padding: 0"
|
||||
type="link"
|
||||
><AIcon :type="i.icon"
|
||||
/></j-button>
|
||||
:danger="i.key === 'delete'"
|
||||
>
|
||||
<AIcon :type="i.icon" />
|
||||
</j-button>
|
||||
</j-popconfirm>
|
||||
<j-button
|
||||
style="padding: 0"
|
||||
|
|
@ -92,8 +94,9 @@
|
|||
:disabled="i.disabled"
|
||||
style="padding: 0"
|
||||
type="link"
|
||||
><AIcon :type="i.icon"
|
||||
/></j-button>
|
||||
>
|
||||
<AIcon :type="i.icon" />
|
||||
</j-button>
|
||||
</j-button>
|
||||
</j-tooltip>
|
||||
</j-space>
|
||||
|
|
|
|||
|
|
@ -124,6 +124,7 @@
|
|||
:key="i.key"
|
||||
>
|
||||
<PermissionButton
|
||||
:danger="i.key === 'delete'"
|
||||
:disabled="i.disabled"
|
||||
:popConfirm="i.popConfirm"
|
||||
:tooltip="{
|
||||
|
|
|
|||
|
|
@ -168,6 +168,7 @@
|
|||
:key="i.key"
|
||||
>
|
||||
<PermissionButton
|
||||
:danger="i.key === 'delete'"
|
||||
:disabled="i.disabled"
|
||||
:popConfirm="i.popConfirm"
|
||||
:tooltip="{
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@
|
|||
:key="i.key"
|
||||
>
|
||||
<PermissionButton
|
||||
:danger="i.key === 'delete'"
|
||||
:disabled="i.disabled"
|
||||
:popConfirm="i.popConfirm"
|
||||
:tooltip="{
|
||||
|
|
|
|||
Loading…
Reference in New Issue