1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
shaoying 2020-05-17 08:19:18 +08:00
parent 975c80b185
commit cf95a9ca79

View File

@ -315,7 +315,7 @@ Volcanos("onappend", { _init: function(can, meta, list, cb, target, field) {
toast: function(can, text, title, duration) {
var meta = typeof text == "object"? text: {text: text, title: title, duration: duration}
can._toast = can._toast || can.page.Append(can, can._target, [{view: "toast", onmouseleave: function(event) {
can.page.Modify(can, can._carte, {style: {display: "none"}})
can.page.Modify(can, can._toast, {style: {display: "none"}})
}}]).last
var ui = can.page.Appends(can, can._toast, [