mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-26 17:49:15 +01:00
加入自动安装依赖
This commit is contained in:
@@ -490,6 +490,8 @@ export default {
|
||||
'By default: ': '默认: ',
|
||||
'Max Error Logs Display': '最大异常日志展示',
|
||||
'Log Errors': '日志错误',
|
||||
'No Expire': '不过期',
|
||||
'Log Expire Duration': '日志过期时间',
|
||||
|
||||
// 挑战
|
||||
'Challenge': '挑战',
|
||||
@@ -499,6 +501,22 @@ export default {
|
||||
'Not Achieved': '未达成',
|
||||
'Start Challenge': '开始挑战',
|
||||
|
||||
// 时间
|
||||
'Second': '秒',
|
||||
'Seconds': '秒',
|
||||
'Minute': '分',
|
||||
'Minutes': '分',
|
||||
'Hour': '小时',
|
||||
'Hours': '小时',
|
||||
'Day': '天',
|
||||
'Days': '天',
|
||||
'Week': '周',
|
||||
'Weeks': '周',
|
||||
'Month': '月',
|
||||
'Months': '月',
|
||||
'Year': '年',
|
||||
'Years': '年',
|
||||
|
||||
// 全局
|
||||
'Related Documentation': '相关文档',
|
||||
'Click to view related Documentation': '点击查看相关文档',
|
||||
|
||||
@@ -141,6 +141,23 @@
|
||||
<el-option :value="10000" label="10000"/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('Log Expire Duration')" prop="setting.log_expire_duration">
|
||||
<el-select
|
||||
v-model="userInfo.setting.log_expire_duration"
|
||||
clearable
|
||||
>
|
||||
<el-option :value="0" :label="$t('No Expire')"/>
|
||||
<el-option :value="3600" :label="'1 ' + $t('Hour')"/>
|
||||
<el-option :value="3600 * 6" :label="'6 ' + $t('Hours')"/>
|
||||
<el-option :value="3600 * 12" :label="'12 ' + $t('Hours')"/>
|
||||
<el-option :value="3600 * 24" :label="'1 ' + $t('Day')"/>
|
||||
<el-option :value="3600 * 24 * 7" :label="'7 ' + $t('Days')"/>
|
||||
<el-option :value="3600 * 24 * 14" :label="'14 ' + $t('Days')"/>
|
||||
<el-option :value="3600 * 24 * 30" :label="'30 ' + $t('Days')"/>
|
||||
<el-option :value="3600 * 24 * 30 * 3" :label="'90 ' + $t('Days')"/>
|
||||
<el-option :value="3600 * 24 * 30 * 6" :label="'180 ' + $t('Days')"/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<div style="text-align: right">
|
||||
<el-button type="success" size="small" @click="saveUserInfo">
|
||||
|
||||
Reference in New Issue
Block a user