无故事王国
2023-11-16 e51407d910525ab7d847e83953c2e9053cbd6a9c
WanPai/Root/Login/VC/LoginRegOrForgotVC.swift
@@ -20,9 +20,13 @@
   @IBOutlet weak var tf_invitePhone: QMUITextField!
   @IBOutlet weak var view_invite: UIView!
   @IBOutlet weak var view_placeholder: UIView!
   required init(type:GetSMSCodeType) {
   private var force:String = ""
   required init(type:GetSMSCodeType,force:String = "") {
        super.init(nibName: nil, bundle: nil)
        self.type = type
      self.force = force
    }
    
    required init?(coder: NSCoder) {
@@ -34,6 +38,8 @@
        title = type.titleStr
      tf_pwd.maximumTextLength = 18
      tf_phone.text = force
      if !force.isEmpty{alert(msg: "请修改密码")}
      view_invite.isHidden = type != .register
      view_placeholder.isHidden = type != .register
    }