diff --git a/nezha-fronted/src/assets/css/common/tableCommon.scss b/nezha-fronted/src/assets/css/common/tableCommon.scss index 5a0395bd9..82b903cf6 100644 --- a/nezha-fronted/src/assets/css/common/tableCommon.scss +++ b/nezha-fronted/src/assets/css/common/tableCommon.scss @@ -244,13 +244,23 @@ .table-operation-items { display: flex; justify-content: center; - .table-operation-item { display: flex; height: 22px; border-radius: $--button-border-radius; outline: none; } + .table-operation-item.table-operation-item-disable{ + border: 1px solid $--primary-border-color; + outline: none; + background-color: $--button-gray-background-color; + transition: background-color linear .1s; + + i { + font-size: 14px; + color: $--button-gray-color; + } + } >.table-operation-item { justify-content: center; align-items: center; diff --git a/nezha-fronted/src/components/page/config/system/apiKeyTab.vue b/nezha-fronted/src/components/page/config/system/apiKeyTab.vue index 9ad697ee1..1ff5b1197 100644 --- a/nezha-fronted/src/components/page/config/system/apiKeyTab.vue +++ b/nezha-fronted/src/components/page/config/system/apiKeyTab.vue @@ -11,7 +11,7 @@ - diff --git a/nezha-fronted/src/components/page/config/system/apiKeyTable.vue b/nezha-fronted/src/components/page/config/system/apiKeyTable.vue index 872ec2ebc..a07c5440a 100644 --- a/nezha-fronted/src/components/page/config/system/apiKeyTable.vue +++ b/nezha-fronted/src/components/page/config/system/apiKeyTable.vue @@ -72,7 +72,10 @@ {{scope.row[item.prop]?scope.row[item.prop].name:'-'}} - {{scope.row[item.prop]?scope.row[item.prop]:$t('config.system.apiKey.noExpire')}} + {{scope.row[item.prop]?utcTimeToTimezoneStr(scope.row[item.prop]):$t('config.system.apiKey.noExpire')}} + + + {{scope.row[item.prop]?utcTimeToTimezoneStr(scope.row[item.prop]):$t('config.system.apiKey.noExpire')}} {{scope.row[item.prop]}} - @@ -86,11 +89,11 @@