fix(项目设置): 创建环境变量名提示

--bug=1027650 --user=王旭 【项目设置】github#25456,【项目设置】-项目环境:创建环境通用配置类型选择CSV、计数器、随机数高级设置必填项字段“变量名”不输入内容提示信息与字段名称“变量名”不一致。 https://www.tapd.cn/55049933/s/1396955
This commit is contained in:
WangXu10 2023-07-25 11:31:12 +08:00 committed by fit2-zhao
parent d68c257267
commit 9034c355ce
6 changed files with 6 additions and 3 deletions

View File

@ -81,7 +81,7 @@ export default {
name: [ name: [
{ {
required: true, required: true,
message: this.$t("test_track.case.input_name"), message: this.$t("test_track.variable_name"),
trigger: "blur", trigger: "blur",
}, },
], ],

View File

@ -102,7 +102,7 @@ export default {
showMessage: false, showMessage: false,
rules: { rules: {
name: [ name: [
{required: true, message: this.$t('test_track.case.input_name'), trigger: 'blur'}, {required: true, message: this.$t('test_track.variable_name'), trigger: 'blur'},
], ],
}, },
} }

View File

@ -42,7 +42,7 @@ export default {
return { return {
rules: { rules: {
name: [ name: [
{required: true, message: this.$t('test_track.case.input_name'), trigger: 'blur'}, {required: true, message: this.$t('test_track.variable_name'), trigger: 'blur'},
], ],
}, },
} }

View File

@ -35,6 +35,7 @@ export default {
report_statistics: "Report Statistics", report_statistics: "Report Statistics",
sort: "Sort", sort: "Sort",
other_test_name: "Other Test Name", other_test_name: "Other Test Name",
variable_name: "Please enter a variable name",
demand: { demand: {
id: "Demand ID", id: "Demand ID",
name: "Demand Name", name: "Demand Name",

View File

@ -36,6 +36,7 @@ export default {
sort: "种类", sort: "种类",
automatic_status_update: "自动状态更新", automatic_status_update: "自动状态更新",
other_test_name: "其他用例名称", other_test_name: "其他用例名称",
variable_name: "请输入变量名",
case: { case: {
list: "列表", list: "列表",
minder: "脑图", minder: "脑图",

View File

@ -36,6 +36,7 @@ export default {
sort: "種類", sort: "種類",
automatic_status_update: "自動狀態更新", automatic_status_update: "自動狀態更新",
other_test_name: "其他用例名稱", other_test_name: "其他用例名稱",
variable_name: "請輸入變量名稱",
case: { case: {
list: "列錶", list: "列錶",
minder: "腦圖", minder: "腦圖",