This commit is contained in:
IT 老营长 @云轩领航-创始人 2025-05-22 17:35:53 +08:00
parent e1daa01a1d
commit 760050a8fe

View File

@ -36,7 +36,9 @@ func (s profile) List(m *ice.Message, arg ...string) {
s.Select(m, model.UID, arg[0]).Action()
name := m.Append(model.NAME)
button := []ice.Any{}
if AuthType(kit.Int(m.Append(model.AUTH_TYPE))) == AuthService {
button = append(button, s.Enter)
}
kit.If(s.IsWorker(m), func() { button = append(button, s.Modify) })
switch AuthType(kit.Int(m.Append(model.AUTH_TYPE))) {
case AuthService: