fix: 按钮颜色卡片更换
This commit is contained in:
parent
84db55b690
commit
7da98bff35
|
@ -52,6 +52,7 @@
|
|||
@click="i.onClick"
|
||||
type="link"
|
||||
style="padding: 0px"
|
||||
:danger="i.key === 'delete'"
|
||||
>
|
||||
<template #icon><AIcon :type="i.icon" /></template>
|
||||
</PermissionButton>
|
||||
|
|
|
@ -139,6 +139,7 @@
|
|||
@click="i.onClick"
|
||||
type="link"
|
||||
style="padding: 0px"
|
||||
:danger="i.key === 'delete'"
|
||||
>
|
||||
<template #icon><AIcon :type="i.icon" /></template>
|
||||
</PermissionButton>
|
||||
|
|
|
@ -151,9 +151,9 @@
|
|||
type="link"
|
||||
style="padding: 0px"
|
||||
:hasPermission="
|
||||
'rule-engine/Alarm/Configuration:' +
|
||||
i.key
|
||||
'rule-engine/Alarm/Configuration:' + i.key
|
||||
"
|
||||
:danger="i.key === 'delete'"
|
||||
>
|
||||
<template #icon
|
||||
><AIcon :type="i.icon"
|
||||
|
@ -431,8 +431,8 @@ const getActions = (
|
|||
icon: 'DeleteOutlined',
|
||||
},
|
||||
];
|
||||
return actions.filter((item)=>
|
||||
item.key != 'tigger' || data.sceneTriggerType == 'manual'
|
||||
return actions.filter(
|
||||
(item) => item.key != 'tigger' || data.sceneTriggerType == 'manual',
|
||||
);
|
||||
};
|
||||
const add = () => {
|
||||
|
|
|
@ -117,6 +117,7 @@
|
|||
type="link"
|
||||
style="padding: 0px"
|
||||
:hasPermission="'rule-engine/Instance:' + i.key"
|
||||
:danger="i.key === 'delete'"
|
||||
>
|
||||
<template #icon
|
||||
><AIcon :type="i.icon"
|
||||
|
@ -247,7 +248,7 @@ const getActions = (
|
|||
icon: 'EyeOutlined',
|
||||
onClick: () => {
|
||||
openRuleEditor(data);
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'action',
|
||||
|
|
Loading…
Reference in New Issue