fix(系统设置): 创建用户ID输入校验提示不符
--bug=1028055 --user=宋昌昌 【系统设置】创建用户-ID默认提示不支持中文-输入中文后提示不支持特殊字符-提示信息不一致 https://www.tapd.cn/55049933/s/1396414
This commit is contained in:
parent
31c339c78e
commit
a59a7ace15
|
@ -1064,6 +1064,7 @@ const message = {
|
|||
input_phone: "Please enter phone number",
|
||||
special_characters_are_not_supported:
|
||||
"Special characters are not supported",
|
||||
chinese_characters_are_not_supported: "Chinese characters are not supported",
|
||||
mobile_number_format_is_incorrect: "Phone number format is incorrect",
|
||||
email_format_is_incorrect: "Email format is incorrect",
|
||||
delete_confirm: "Are you sure you want to delete this User?",
|
||||
|
|
|
@ -1035,6 +1035,7 @@ const message = {
|
|||
input_password: "请输入密码",
|
||||
input_phone: "请输入电话号码",
|
||||
special_characters_are_not_supported: "不支持特殊字符",
|
||||
chinese_characters_are_not_supported: "不支持中文字符",
|
||||
mobile_number_format_is_incorrect: "电话号码格式不正确",
|
||||
email_format_is_incorrect: "邮箱格式不正确",
|
||||
delete_confirm: "这个用户确定要删除吗?",
|
||||
|
|
|
@ -1034,6 +1034,7 @@ const message = {
|
|||
input_password: "請輸入密碼",
|
||||
input_phone: "請輸入電話號碼",
|
||||
special_characters_are_not_supported: "不支持特殊字符",
|
||||
chinese_characters_are_not_supported: "不支持中文字符",
|
||||
mobile_number_format_is_incorrect: "電話號碼格式不正確",
|
||||
email_format_is_incorrect: "郵箱格式不正確",
|
||||
delete_confirm: "這個用戶確定要刪除嗎?",
|
||||
|
|
|
@ -138,7 +138,7 @@ export default {
|
|||
{
|
||||
required: true,
|
||||
pattern: '^[^\u4e00-\u9fa5]+$',
|
||||
message: this.$t('user.special_characters_are_not_supported'),
|
||||
message: this.$t('user.chinese_characters_are_not_supported'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue