Explorar o código

fixbug:用户显示隐藏不生效

zoie %!s(int64=2) %!d(string=hai) anos
pai
achega
e1cec51601
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 	}
 
 	// .......