mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix: bug fix
This commit is contained in:
@@ -225,6 +225,7 @@
|
||||
"field_type": "Field type",
|
||||
"field_name": "Field name",
|
||||
"copy": "Copy",
|
||||
"incorrect_email_format": "Incorrect email format",
|
||||
"the_original_one": "Are you sure you want to restore the password to the original one?",
|
||||
"relevant_content_found": "No relevant content found",
|
||||
"please_enter": "Please enter",
|
||||
|
||||
@@ -225,6 +225,7 @@
|
||||
"confirm": "确定",
|
||||
"copy": "复制",
|
||||
"the_original_one": "确认恢复为初始密码吗?",
|
||||
"incorrect_email_format": "邮箱格式不对",
|
||||
"enabled_status": "启用状态",
|
||||
"custom_notes": "自定义备注",
|
||||
"field_type": "字段类型",
|
||||
|
||||
@@ -457,6 +457,12 @@ const rules = {
|
||||
message: t('datasource.please_enter') + t('common.empty') + t('user.email'),
|
||||
trigger: 'blur',
|
||||
},
|
||||
{
|
||||
required: true,
|
||||
pattern: /^[a-zA-Z0-9_._-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/,
|
||||
message: t('datasource.incorrect_email_format'),
|
||||
trigger: 'blur',
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
@@ -739,7 +745,7 @@ const editTerm = () => {
|
||||
})
|
||||
}
|
||||
|
||||
const duplicateName = async () => {
|
||||
const duplicateName = () => {
|
||||
if (state.form.id) {
|
||||
editTerm()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user