1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-01 13:33:58 +08:00

usernamenocheck

This commit is contained in:
Z 2019-09-30 19:40:04 -05:00
parent eb2282d31a
commit 9defc58b73

View File

@ -83,7 +83,8 @@ export default {
data() {
const validateUsername = (rule, value, callback) => {
if (!validUsername(value)) {
callback(new Error('Please enter the correct user name'))
callback()
// callback(new Error('Please enter the correct user name'))
} else {
callback()
}