This commit is contained in:
Baobhan Sith
2025-04-18 15:07:54 +08:00
parent 6609680bc1
commit 06723fc145
10 changed files with 216 additions and 124 deletions
@@ -92,7 +92,6 @@ watch(searchTerm, (newValue) => {
<!-- 搜索控制按钮 -->
<div class="search-controls">
<button @click="toggleSearch" class="icon-button" :title="isSearching ? t('commandInputBar.closeSearch') : t('commandInputBar.openSearch')">
<!-- 使用 Font Awesome 图标 -->
<i v-if="!isSearching" class="fas fa-search"></i>
<i v-else class="fas fa-times"></i>
</button>
@@ -104,11 +103,11 @@ watch(searchTerm, (newValue) => {
<button @click="findNext" class="icon-button" :title="t('commandInputBar.findNext')">
<i class="fas fa-arrow-down"></i>
</button>
<!-- 搜索结果显示已移除 -->
</template>
</div>
</div>
<!-- Removed hidden span -->
</div>
</template>
@@ -178,14 +178,14 @@ const handleDelete = async (conn: ConnectionInfo) => {
</tr>
</thead>
<tbody>
<!-- 遍历分组内的连接 -->
<tr v-for="conn in groupConnections" :key="conn.id">
<td>{{ conn.name }}</td>
<td>{{ conn.host }}</td>
<td>{{ conn.port }}</td>
<td>{{ conn.username }}</td>
<td>{{ conn.auth_method }}</td>
<td> <!-- 显示标签 -->
<td>
<span v-if="getConnectionTagNames(conn).length > 0" class="tag-list">
<span v-for="tagName in getConnectionTagNames(conn)" :key="tagName" class="tag-item">
{{ tagName }}
@@ -217,7 +217,7 @@ const handlePaneResize = (eventData: { panes: Array<{ size: number; [key: string
<!-- 如果是容器节点 -->
<template v-if="layoutNode.type === 'container' && layoutNode.children && layoutNode.children.length > 0">
<splitpanes
:horizontal="layoutNode.direction === 'vertical'"
:horizontal="layoutNode.direction === 'vertical'"
class="default-theme"
style="height: 100%; width: 100%;"
@resized="handlePaneResize"