【fix ESLint】src/components/tools
This commit is contained in:
@@ -136,7 +136,6 @@ export default {
|
||||
compareToFirstPassword (rule, value, callback) {
|
||||
const form = this.form
|
||||
if (value && value !== form.getFieldValue('password')) {
|
||||
// eslint-disable-next-line standard/no-callback-literal
|
||||
callback(new Error('两次输入的密码不一样!'))
|
||||
} else {
|
||||
callback()
|
||||
|
||||
Reference in New Issue
Block a user