【fix ESLint】src/components/tools

This commit is contained in:
zhaoxiao
2023-03-06 10:05:21 +08:00
parent e60ab2b2e1
commit 516af1cb77
6 changed files with 22 additions and 23 deletions
@@ -136,6 +136,7 @@ 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('两次输入的密码不一样')
} else {
callback()