Merge branch 'master' into master

This commit is contained in:
Soulter
2025-03-24 17:58:00 +08:00
committed by GitHub
2 changed files with 3 additions and 8 deletions
-5
View File
@@ -65,12 +65,7 @@ class StatRoute(Route):
stat_dict = stat.__dict__
# 获取CPU使用率 - 修复CPU始终为0的问题
process = psutil.Process()
# 获取系统CPU使用率而不是进程CPU使用率
cpu_percent = psutil.cpu_percent(interval=0.5)
# 获取线程数
thread_count = threading.active_count()
# 获取插件信息
+3 -3
View File
@@ -96,7 +96,7 @@
</v-container>
<!-- 配置对话框 -->
<v-dialog v-model="showPlatformCfg" width="900" persistent>
<v-dialog v-model="showPlatformCfg" persistent>
<v-card>
<v-card-title class="bg-primary text-white py-3">
<v-icon color="white" class="me-2">{{ updatingMode ? 'mdi-pencil' : 'mdi-plus' }}</v-icon>
@@ -105,12 +105,12 @@
<v-card-text class="py-4">
<v-row>
<v-col cols="12" md="6">
<v-col cols="12" md="8">
<AstrBotConfig :iterable="newSelectedPlatformConfig"
:metadata="metadata['platform_group']?.metadata"
metadataKey="platform" />
</v-col>
<v-col cols="12" md="6">
<v-col cols="12" md="4">
<v-btn :loading="iframeLoading" @click="refreshIframe" variant="tonal" color="primary" style="float: right;">
<v-icon>mdi-refresh</v-icon>
刷新