1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-02-22 11:06:31 +08:00
parent bfb9f99734
commit 377e165765

View File

@ -120,7 +120,8 @@ func Toast(m *ice.Message, text string, arg ...ice.Any) *ice.Message { // [title
kit.If(len(arg) == 0, func() { arg = append(arg, "") }) kit.If(len(arg) == 0, func() { arg = append(arg, "") })
kit.If(len(arg) > 0 && arg[0] == "", func() { arg[0] = toastTitle(m) }) kit.If(len(arg) > 0 && arg[0] == "", func() { arg[0] = toastTitle(m) })
if m.IsDebug() { if m.IsDebug() {
text += "\n" + logs.FileLine(-1) arg[0] = kit.Format(arg[0]) + "\t" + logs.FileLine(-1, "2")
// text += "\n" + logs.FileLine(-1)
} }
PushNoticeToast(m, text, arg) PushNoticeToast(m, text, arg)
return m return m