修复运营管理系统后台登录页的变量警告
This commit is contained in:
@@ -135,7 +135,7 @@ const rules = {
|
||||
required: true,
|
||||
message: '请输入验证码',
|
||||
trigger: 'blur',
|
||||
validator: (rule: any, value: string) => {
|
||||
validator: (_rule: any, value: string) => {
|
||||
if (captchaEnabled.value && !value) {
|
||||
return new Error('请输入验证码')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user