
else{
callback('賬戶只能包含數字、字母或使用郵箱,請重新輸入!')
// this.form.setFieldsValue({username:'',})
}
想對登錄戶名做一個校驗,不通會提示,但是還想加入一個清慷訓名的操作,加入之后callback的提示不能在戶名下方出現紅字提示只能出現在控制臺,不加入這個清空的話正常提示,請問有什么辦法兼顧
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/42299.html
標籤:JavaScript
上一篇:求助貼!react報錯TypeError: Object(...)().nodeAlign is not a function
