【fix ESLint】src/components、src/utils

This commit is contained in:
zhaoxiao
2023-03-06 14:04:51 +08:00
parent 8c5844500b
commit d564f67722
13 changed files with 106 additions and 121 deletions
@@ -137,7 +137,7 @@ export default {
const form = this.form
if (value && value !== form.getFieldValue('password')) {
// eslint-disable-next-line standard/no-callback-literal
callback('两次输入的密码不一样')
callback(new Error('两次输入的密码不一样'))
} else {
callback()
}