mirror of https://github.com/1Panel-dev/1Panel
feat: 统一限制最大数字输入位数为15位
parent
9571d82932
commit
83ca72e153
|
@ -16,15 +16,15 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('website.perserver')" prop="perserver">
|
||||
<el-input v-model.number="form.perserver" maxlength="10"></el-input>
|
||||
<el-input v-model.number="form.perserver" maxlength="15"></el-input>
|
||||
<span class="input-help">{{ $t('website.perserverHelper') }}</span>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('website.perip')" prop="perip">
|
||||
<el-input v-model.number="form.perip" maxlength="10"></el-input>
|
||||
<el-input v-model.number="form.perip" maxlength="15"></el-input>
|
||||
<span class="input-help">{{ $t('website.peripHelper') }}</span>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('website.rate')" prop="rate">
|
||||
<el-input v-model.number="form.rate" maxlength="10"></el-input>
|
||||
<el-input v-model.number="form.rate" maxlength="15"></el-input>
|
||||
<span class="input-help">{{ $t('website.rateHelper') }}</span>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
<el-switch v-model="form.enable" @change="updateEnable"></el-switch>
|
||||
</el-form-item>
|
||||
<el-form-item prop="cycle" :label="$t('website.cycle')">
|
||||
<el-input v-model="form.cycle" maxlength="10">
|
||||
<el-input v-model="form.cycle" maxlength="15">
|
||||
<template #append>{{ $t('website.seconds') }}</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="frequency" :label="$t('website.frequency')">
|
||||
<el-input v-model="form.frequency" maxlength="10">
|
||||
<el-input v-model="form.frequency" maxlength="15">
|
||||
<template #append>{{ $t('website.count') }}</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
|
Loading…
Reference in New Issue