Skip to content

Commit 03deaac

Browse files
authored
Merge branch 'AstrBotDevs:master' into master
2 parents 3f02d54 + 42fc16f commit 03deaac

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ jobs:
7070
uses: docker/setup-buildx-action@v4.0.0
7171

7272
- name: Log in to DockerHub
73-
uses: docker/login-action@v4.0.0
73+
uses: docker/login-action@v4.1.0
7474
with:
7575
username: ${{ secrets.DOCKER_HUB_USERNAME }}
7676
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
7777

7878
- name: Login to GitHub Container Registry
7979
if: env.HAS_GHCR_TOKEN == 'true'
80-
uses: docker/login-action@v4.0.0
80+
uses: docker/login-action@v4.1.0
8181
with:
8282
registry: ghcr.io
8383
username: ${{ env.GHCR_OWNER }}
@@ -169,14 +169,14 @@ jobs:
169169
uses: docker/setup-buildx-action@v4.0.0
170170

171171
- name: Log in to DockerHub
172-
uses: docker/login-action@v4.0.0
172+
uses: docker/login-action@v4.1.0
173173
with:
174174
username: ${{ secrets.DOCKER_HUB_USERNAME }}
175175
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
176176

177177
- name: Login to GitHub Container Registry
178178
if: env.HAS_GHCR_TOKEN == 'true'
179-
uses: docker/login-action@v4.0.0
179+
uses: docker/login-action@v4.1.0
180180
with:
181181
registry: ghcr.io
182182
username: ${{ env.GHCR_OWNER }}

dashboard/src/components/extension/McpServersSection.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,9 @@ export default {
284284
mounted() {
285285
this.getServers();
286286
this.refreshInterval = setInterval(() => {
287+
// 轮询时间延长到30秒,减少服务器压力,同时保持数据相对新鲜
287288
this.getServers();
288-
}, 5000);
289+
}, 30000);
289290
},
290291
unmounted() {
291292
if (this.refreshInterval) {

dashboard/src/views/ExtensionPage.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ const {
162162
<InstalledPluginsTab :state="pageState" />
163163

164164
<!-- 指令面板标签页内容 -->
165-
<v-tab-item v-show="activeTab === 'components'">
165+
<v-tab-item v-if="activeTab === 'components'">
166166
<div class="mb-4 pt-4 pb-4">
167167
<div class="d-flex align-center flex-wrap" style="gap: 12px">
168168
<h2 class="text-h2 mb-0">{{ tm("tabs.handlersOperation") }}</h2>
@@ -180,7 +180,7 @@ const {
180180
</v-tab-item>
181181

182182
<!-- 已安装的 MCP 服务器标签页内容 -->
183-
<v-tab-item v-show="activeTab === 'mcp'">
183+
<v-tab-item v-if="activeTab === 'mcp'">
184184
<div class="mb-4 pt-4 pb-4">
185185
<div class="d-flex align-center flex-wrap" style="gap: 12px">
186186
<h2 class="text-h2 mb-0">{{ tm("tabs.installedMcpServers") }}</h2>
@@ -198,7 +198,7 @@ const {
198198
</v-tab-item>
199199

200200
<!-- Skills 标签页内容 -->
201-
<v-tab-item v-show="activeTab === 'skills'">
201+
<v-tab-item v-if="activeTab === 'skills'">
202202
<div class="mb-4 pt-4 pb-4">
203203
<div class="d-flex align-center flex-wrap" style="gap: 12px">
204204
<h2 class="text-h2 mb-0">{{ tm("tabs.skills") }}</h2>

0 commit comments

Comments
 (0)