fix: 函数名重复导致报错
This commit is contained in:
@ -72,9 +72,7 @@ export const getStatusInfo = (
|
||||
const target = errorStatusMap.get(error_status);
|
||||
statusInfo.tooltip = target?.tooltip ?? '';
|
||||
statusInfo.disabledBtnTooltip = target?.btnTooltip ?? '';
|
||||
}
|
||||
|
||||
if (status === EnumStatus.NORMAL) {
|
||||
} else if (status === EnumStatus.NORMAL) {
|
||||
if (to_be_expire_for_cookie === EnumExpireForCookie.NORMAL) {
|
||||
statusInfo.color = normalStyle.color;
|
||||
statusInfo.background = normalStyle.background;
|
||||
@ -84,9 +82,7 @@ export const getStatusInfo = (
|
||||
statusInfo.background = abnormalStyle.background;
|
||||
statusInfo.label = '即将过期';
|
||||
}
|
||||
}
|
||||
|
||||
if (status === EnumStatus.PAUSE) {
|
||||
} else if (status === EnumStatus.PAUSE) {
|
||||
statusInfo.color = pauseStyle.color;
|
||||
statusInfo.background = pauseStyle.background;
|
||||
statusInfo.label = '暂停同步';
|
||||
|
||||
Reference in New Issue
Block a user