fix: 快速命令增加提示信息 (#1710)

This commit is contained in:
ssongliu 2023-07-18 15:34:00 +08:00 committed by GitHub
parent 1fd31fffd6
commit 0ca559f1e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 0 deletions

View File

@ -763,6 +763,7 @@ const message = {
fold: 'All contract',
batchInput: 'Batch input',
quickCommand: 'Quick command',
quickCommandHelper: 'Frequently used command list for quick selection at the bottom of the terminal interface',
groupDeleteHelper:
'After the group is removed, all connections in the group will be migrated to the default group. Confirm the information',
command: 'Command',

View File

@ -737,6 +737,7 @@ const message = {
fold: '全部收縮',
batchInput: '批量輸入',
quickCommand: '快速命令',
quickCommandHelper: '常用命令列表用於在終端界面底部快速選擇',
groupDeleteHelper: '移除組後組內所有連接將遷移到 default 組內是否確認',
command: '命令',
addHost: '添加主機',

View File

@ -737,6 +737,7 @@ const message = {
fold: '全部收缩',
batchInput: '批量输入',
quickCommand: '快速命令',
quickCommandHelper: '常用命令列表用于在终端界面底部快速选择',
groupDeleteHelper: '移除组后组内所有连接将迁移到 default 组内是否确认',
command: '命令',
addHost: '添加主机',

View File

@ -1,6 +1,9 @@
<template>
<div>
<LayoutContent v-loading="loading" :title="$t('terminal.quickCommand')">
<template #prompt>
<el-alert type="info" :title="$t('terminal.quickCommandHelper')" :closable="false" />
</template>
<template #toolbar>
<el-button type="primary" @click="onCreate()">
{{ $t('commons.button.create') }}{{ $t('terminal.quickCommand') }}