Skip to content

Commit 7cd4276

Browse files
committed
add a help link of the theme
1 parent 2e39920 commit 7cd4276

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

console/atest-ui/src/App.vue

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
<script setup lang="ts">
22
import {
3-
Document,
4-
Menu as IconMenu,
5-
Histogram,
6-
Location,
7-
Share,
8-
ArrowDown,
9-
Guide,
10-
DataAnalysis
3+
Document,
4+
Menu as IconMenu,
5+
Histogram,
6+
Location,
7+
Share,
8+
ArrowDown,
9+
Guide,
10+
DataAnalysis, Help, Setting
1111
} from '@element-plus/icons-vue'
12-
import { Setting } from '@element-plus/icons-vue'
1312
import { ref, watch } from 'vue'
1413
import { API } from './views/net'
1514
import { Cache } from './views/cache'
@@ -177,7 +176,7 @@ watch(theme, (e: string) => {
177176
</div>
178177
</el-container>
179178

180-
<el-dialog v-model="settingDialogVisible" title="Setting" width="50%" draggable destroy-on-close>
179+
<el-dialog v-model="settingDialogVisible" :title="t('title.setting' )" width="50%" draggable destroy-on-close>
181180
<el-select v-model="theme" placeholder="Select a theme">
182181
<el-option
183182
v-for="item in allThemes"
@@ -186,6 +185,11 @@ watch(theme, (e: string) => {
186185
:value="item"
187186
/>
188187
</el-select>
188+
<el-icon>
189+
<el-link href="https://github.com/LinuxSuRen/atest-ext-data-swagger/tree/master/data/theme" target="_blank">
190+
<Help />
191+
</el-link>
192+
</el-icon>
189193
</el-dialog>
190194
</template>
191195

console/atest-ui/src/locales/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
"output": "Output",
5353
"proxy": "Proxy",
5454
"secure": "Secure",
55-
"data": "Data"
55+
"data": "Data",
56+
"setting": "Setting"
5657
},
5758
"tip": {
5859
"filter": "Filter Keyword",

console/atest-ui/src/locales/zh.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
"output": "输出",
4848
"proxy": "代理",
4949
"secure": "安全",
50-
"data": "数据"
50+
"data": "数据",
51+
"setting": "设置"
5152
},
5253
"tip": {
5354
"filter": "过滤",

0 commit comments

Comments
 (0)