Parcourir la source

fixbug:用户显示隐藏不生效

zoie il y a 2 ans
Parent
commit
e1cec51601
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      controllers/User.go

+ 1 - 1
controllers/User.go

@@ -149,7 +149,7 @@ func (c *UserController) Up() {
 		r.T_passstr = T_passstr
 	}
 	if T_Show_err == nil {
-		r.T_State = T_Show
+		r.T_Show = T_Show
 	}
 
 	// .......