备注长度限制

This commit is contained in:
chenjianxing 2020-05-21 09:13:44 +08:00
parent c4d6ec1f26
commit a64c63cc7d
4 changed files with 7 additions and 3 deletions

View File

@ -162,7 +162,7 @@
</el-row>
<el-row type="flex" justify="center">
<el-col :span="20">
<el-form-item>
<el-form-item prop="remark">
<el-input v-model="form.remark"
:autosize="{ minRows: 2, maxRows: 4}"
type="textarea"
@ -177,7 +177,7 @@
<template v-slot:footer>
<el-switch
v-model="isCreateContinue"
active-text="保存并继续创建">
:active-text="$t('test_track.case.save_create_continue')">
</el-switch>
<ms-dialog-footer v-if="!readOnly"
@cancel="dialogFormVisible = false"
@ -231,7 +231,8 @@
maintainer :[{required: true, message: this.$t('test_track.case.input_maintainer'), trigger: 'change'}],
priority :[{required: true, message: this.$t('test_track.case.input_priority'), trigger: 'change'}],
type :[{required: true, message: this.$t('test_track.case.input_type'), trigger: 'change'}],
method :[{required: true, message: this.$t('test_track.case.input_method'), trigger: 'change'}]
method :[{required: true, message: this.$t('test_track.case.input_method'), trigger: 'change'}],
remark :[{ max: 300, message: this.$t('test_track.length_less_than') + '300', trigger: 'blur'}]
},
formLabelWidth: "120px",
operationType: '',

View File

@ -375,6 +375,7 @@ export default {
input_prerequisite: "Please select prerequisite",
delete_confirm: "Confirm delete test case",
delete: "Delete case",
save_create_continue: "Save and create continue",
import: {
import: "Import test case",
case_import: "Import test case",

View File

@ -372,6 +372,7 @@ export default {
input_prerequisite: "请输入前置条件",
delete_confirm: "确认删除测试用例",
delete: "删除用例",
save_create_continue: "保存并继续创建",
import: {
import: "导入用例",
case_import: "导入测试用例",

View File

@ -366,6 +366,7 @@ export default {
input_prerequisite: "請輸入前置條件",
delete_confirm: "確認刪除測試用例: ",
delete: "删除用例",
save_create_continue: "保存並繼續創建",
import: {
import: "導入用例",
case_import: "導入測試用例",