mirror of
https://shylinux.com/x/community
synced 2025-05-05 13:37:02 +08:00
12 lines
506 B
JavaScript
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) },
|
|
}) |