2024-09-26 13:00:33 +08:00

12 lines
506 B
JavaScript

Volcanos(chat.ONIMPORT, {
_init: function(can, msg) {
can.onimport.myView(can, msg, function(value) { return [
{view: html.TITLE, list: [value.title]},
{view: html.STATUS, list: [value.uid.slice(0, 6), can.onimport.timeView(can, value), value.user_name]},
{view: html.OUTPUT, list: [{img: can.misc.Resource(can, value.path)}]},
] }, function(event, value) {})
},
})
Volcanos(chat.ONACTION, {
upload: function(event, can) { can.user.upload(can.request(event, {_handle: ice.TRUE}), can) },
})