[v6.2.6]下一单验证时NumberView未恢复初始位

This commit is contained in:
pangfan
2023-12-25 15:22:09 +08:00
parent b9275a3aab
commit 1a38ab5167
2 changed files with 2 additions and 12 deletions

View File

@@ -58,12 +58,7 @@ class NumberCheckView @JvmOverloads constructor(
fun resetNum(phone:String){
this.phone = phone
for(i in numSelect.indices){
numSelect[i] = null
}
numSelectTextView.forEach {
it?.text = ""
}
clearNumber()
}
private fun initView(context: Context) {

View File

@@ -58,12 +58,7 @@ class NumberCheckView @JvmOverloads constructor(
fun resetNum(phone:String){
this.phone = phone
for(i in numSelect.indices){
numSelect[i] = null
}
numSelectTextView.forEach {
it?.text = ""
}
clearNumber()
}
private fun initView(context: Context) {