feat: add watch api in cluster

This commit is contained in:
jialin
2025-09-16 11:26:17 +08:00
parent 07ade24ea1
commit deeee70807
34 changed files with 706 additions and 229 deletions
+4 -1
View File
@@ -20,6 +20,7 @@ export const StatusMaps = {
};
type StatusTagProps = {
style?: React.CSSProperties;
statusValue: {
status: StatusType;
text: string;
@@ -42,6 +43,7 @@ type StatusTagProps = {
};
const StatusTag: React.FC<StatusTagProps> = ({
style,
statusValue,
download,
extra,
@@ -149,7 +151,8 @@ const StatusTag: React.FC<StatusTagProps> = ({
})}
style={{
color: statusColor?.text,
border: `1px solid ${statusColor?.border || statusColor?.text}`
border: `1px solid ${statusColor?.border || statusColor?.text}`,
...style
}}
>
{statusValue.message ? (