mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 08:48:06 +08:00
add some
This commit is contained in:
parent
3a3def6e96
commit
69c73c5593
@ -106,7 +106,8 @@ Volcanos("user", {
|
||||
return can.user.toast(can, {content: "🕑 "+content, title: title, duration: -1, progress: progress})
|
||||
},
|
||||
toastFailure: function(can, content, title) {
|
||||
content = can.user.trans(can, content||""), content += can.user.trans(can, " failure", "失败")
|
||||
content = can.user.trans(can, content||"")
|
||||
if (content.length < 8) { content += can.user.trans(can, " failure", "失败") }
|
||||
return can.user.toast(can, {content: "❌ "+content, title: title, duration: -1})
|
||||
},
|
||||
toastSuccess: function(can, content, title, duration) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user