【fix ESLint】src/components/tools

This commit is contained in:
danshihao
2023-03-08 11:45:23 +08:00
parent cac94215f2
commit 13f70fe507
3 changed files with 0 additions and 3 deletions
@@ -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()