Explorar o código

【会员系统】登录界面切换验证码清空错误提示

wanjun hai 4 meses
pai
achega
837c91690e

+ 2 - 0
PDF Office/PDF Master/MemberCenter/ViewModel/KMSignUpViewModel.swift

@@ -69,6 +69,8 @@ class KMSignUpViewModel: ObservableObject {
         if state == signUpState {
             return
         }
+        emailErrorMessage = ""
+        passwordErrorMessage = ""
         if signUpState == .verificationCode {
             signUpState = .password
         } else {