!15 参数注释

Merge pull request !15 from Tany/dev
This commit is contained in:
傲世孤尘
2023-03-29 16:13:53 +00:00
committed by Gitee
3 changed files with 10 additions and 8 deletions
+2 -1
View File
@@ -102,7 +102,8 @@ export default {
draft: 'Draft',
delete: 'Delete',
cancel: 'Cancel',
confirm: 'Confirm'
confirm: 'Confirm',
portOrRange: 'example: 3306 or 1000-2000'
},
errorLog: {
tips: 'Please click the bug icon in the upper right corner',
+1
View File
@@ -136,6 +136,7 @@ export default {
enable: '启用',
loginName: '登录名',
port: '端口',
portOrRange: '端口或范围,如: 3306或1000-2000',
licenseName: 'License名称',
licenseKey: 'License Key',
isOnline: '在线状态',
@@ -60,7 +60,7 @@
<el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible">
<el-form :rules="rules" ref="dataForm" :model="temp" label-position="left" label-width="70px" style='width: 400px; margin-left:50px;'>
<el-form-item :label="$t('table.port')" prop="port">
<el-input v-model="temp.port" :disabled="dialogStatus=='update'"></el-input>
<el-input :placeholder="$t('table.portOrRange')" v-model="temp.port" :disabled="dialogStatus=='update'"></el-input>
</el-form-item>
<el-form-item :label="$t('table.group')" prop="group">
@@ -92,13 +92,13 @@
</template>
<script>
import { fetchList, updateEnableStatus, createPortPool, deletePortPool, updatePortPool } from '@/api/portPool'
import { portGroupList } from '@/api/portGroup'
import waves from '@/directive/waves' // 水波纹指令
import { parseTime } from '@/utils'
import ButtonPopover from '../../components/Button/buttonPopover'
import {createPortPool, deletePortPool, fetchList, updateEnableStatus, updatePortPool} from '@/api/portPool'
import {portGroupList} from '@/api/portGroup'
import waves from '@/directive/waves' // 水波纹指令
import {parseTime} from '@/utils'
import ButtonPopover from '../../components/Button/buttonPopover'
const calendarTypeOptions = [
const calendarTypeOptions = [
{ key: 'CN', display_name: 'China' },
{ key: 'US', display_name: 'USA' },
{ key: 'JP', display_name: 'Japan' },