This commit is contained in:
jxxghp
2024-04-17 14:51:05 +08:00
parent e90cf3ee77
commit f1238a03b3
+3
View File
@@ -157,6 +157,9 @@ function openSitePage() {
// 根据站点状态显示不同的状态图标 // 根据站点状态显示不同的状态图标
const statColor = computed(() => { const statColor = computed(() => {
if (!siteStats.value){
return 'secondary'
}
if (siteStats.value?.lst_state == 1){ if (siteStats.value?.lst_state == 1){
return 'error' return 'error'
} }