feat: 增加计划任务服务器时间同步提示信息 (#3695)

This commit is contained in:
ssongliu 2024-01-25 13:54:32 +08:00 committed by GitHub
parent 45394598d9
commit d1fde34a14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 0 deletions

View file

@ -788,6 +788,7 @@ const message = {
containerCheckBox: 'In container (no need to enter the container command)',
containerName: 'Container name',
ntp: 'Time synchronization',
ntp_helper: 'By default, use the NTP server configured in the [Toolbox] - [Quick Setup] page',
app: 'Backup app',
website: 'Backup website',
rulesHelper:

View file

@ -755,6 +755,7 @@ const message = {
containerCheckBox: '在容器中執行無需再輸入進入容器命令',
containerName: '容器名稱',
ntp: '同步服務器時間',
ntp_helper: '默認情況下使用 [工具箱] - [快速設置] 頁面中配置的 NTP 伺服器',
app: '備份應用',
website: '備份網站',
rulesHelper: '當存在多個壓縮排除規則時需要換行顯示\n*.log \n*.sql',

View file

@ -756,6 +756,7 @@ const message = {
containerCheckBox: '在容器中执行无需再输入进入容器命令',
containerName: '容器名称',
ntp: '同步服务器时间',
ntp_helper: '默认情况下使用 [工具箱] - [快速设置] 页面中配置的 NTP 服务器',
app: '备份应用',
website: '备份网站',
rulesHelper: '当存在多个压缩排除规则时需要换行显示\n*.log \n*.sql',

View file

@ -53,6 +53,19 @@
</el-link>
</span>
</div>
<div v-if="dialogData.rowData!.type === 'ntp'">
<span class="input-help">
{{ $t('cronjob.ntp_helper') }}
<el-link
style="font-size: 12px"
icon="Position"
@click="goRouter('/toolbox/device')"
type="primary"
>
{{ $t('firewall.quickJump') }}
</el-link>
</span>
</div>
</el-form-item>
<el-form-item :label="$t('cronjob.taskName')" prop="name">