mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
fix(系统设置): 个人信息设置表单校验提示信息修改
--bug=1027542 --user=王旭 [系统设置]github#25334个人信息设置,去掉姓名点确定 提示信息和输入框信息不一致 https://www.tapd.cn/55049933/s/1390148
This commit is contained in:
parent
8fd2acb9bc
commit
b8083b612d
@ -51,7 +51,7 @@ export default {
|
||||
ruleForm: {},
|
||||
rule: {
|
||||
name: [
|
||||
{required: true, message: this.$t('member.input_name'), trigger: 'blur'},
|
||||
{required: true, message: this.$t('user.input_name'), trigger: 'blur'},
|
||||
{min: 2, max: 20, message: this.$t('commons.input_limit', [2, 20]), trigger: 'blur'},
|
||||
{
|
||||
required: true,
|
||||
@ -63,7 +63,7 @@ export default {
|
||||
phone: [
|
||||
{
|
||||
pattern: PHONE_REGEX,
|
||||
message: this.$t('member.mobile_number_format_is_incorrect'),
|
||||
message: this.$t('user.mobile_number_format_is_incorrect'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
|
@ -1053,14 +1053,14 @@ const message = {
|
||||
id: "User ID",
|
||||
create: "Create",
|
||||
modify: "Modify",
|
||||
input_name: "Please enter a user name",
|
||||
input_name: "Please enter a name",
|
||||
input_id: "Please enter a ID",
|
||||
input_email: "Please enter a email",
|
||||
input_password: "Please enter a password",
|
||||
input_phone: "Please enter phone number",
|
||||
special_characters_are_not_supported:
|
||||
"Special characters are not supported",
|
||||
mobile_number_format_is_incorrect: "Mobile number format is incorrect",
|
||||
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?",
|
||||
apikey_delete_confirm: "Are you sure you want to delete this API Key?",
|
||||
|
@ -1025,13 +1025,13 @@ const message = {
|
||||
id: "用户ID",
|
||||
create: "创建用户",
|
||||
modify: "修改用户",
|
||||
input_name: "请输入用户姓名",
|
||||
input_name: "请输入姓名",
|
||||
input_id: "请输入ID",
|
||||
input_email: "请输入邮箱",
|
||||
input_password: "请输入密码",
|
||||
input_phone: "请输入电话号码",
|
||||
special_characters_are_not_supported: "不支持特殊字符",
|
||||
mobile_number_format_is_incorrect: "手机号码格式不正确",
|
||||
mobile_number_format_is_incorrect: "电话号码格式不正确",
|
||||
email_format_is_incorrect: "邮箱格式不正确",
|
||||
delete_confirm: "这个用户确定要删除吗?",
|
||||
apikey_delete_confirm: "这个 API Key 确定要删除吗?",
|
||||
|
@ -1024,13 +1024,13 @@ const message = {
|
||||
id: "用戶ID",
|
||||
create: "創建用戶",
|
||||
modify: "修改用戶",
|
||||
input_name: "請輸入用戶姓名",
|
||||
input_name: "請輸入姓名",
|
||||
input_id: "請輸入ID",
|
||||
input_email: "請輸入郵箱",
|
||||
input_password: "請輸入密碼",
|
||||
input_phone: "請輸入電話號碼",
|
||||
special_characters_are_not_supported: "不支持特殊字符",
|
||||
mobile_number_format_is_incorrect: "手機號碼格式不正確",
|
||||
mobile_number_format_is_incorrect: "電話號碼格式不正確",
|
||||
email_format_is_incorrect: "郵箱格式不正確",
|
||||
delete_confirm: "這個用戶確定要刪除嗎?",
|
||||
apikey_delete_confirm: "這個 API Key 確定要刪除嗎?",
|
||||
|
Loading…
Reference in New Issue
Block a user