forked from github/dataease
Merge pull request #9394 from dataease/pr@dev-v2@fix_link
fix: 公共链接密码兼容之前的版本
This commit is contained in:
commit
eb9ec20bee
@ -2150,9 +2150,9 @@ export default {
|
||||
},
|
||||
pblink: {
|
||||
key_pwd: '请输入密码打开链接',
|
||||
input_placeholder: '请输入4位数字或字母',
|
||||
input_placeholder: '请输入4~10位数字或字母',
|
||||
pwd_error: '密码错误',
|
||||
pwd_format_error: '请输入4位数字或字母',
|
||||
pwd_format_error: '请输入4~10位数字或字母',
|
||||
sure_bt: '确定',
|
||||
back_parent: '返回上一级'
|
||||
},
|
||||
|
@ -67,7 +67,7 @@ const rule = reactive<FormRules>({
|
||||
{ required: true, message: t('pblink.key_pwd'), trigger: 'blur' },
|
||||
{
|
||||
required: true,
|
||||
pattern: /^(?=.*[A-Za-z])(?=.*\d)(?=.*[!@#$%^&*()_+])[A-Za-z\d!@#$%^&*()_+]{4,10}$/,
|
||||
pattern: /^[A-Za-z\d!@#$%^&*()_+]{4,10}$/,
|
||||
message: t('pblink.pwd_format_error'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user