【fix ESLint】src/components、src/utils
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user