enterprise/src/operation/publish.js
2024-08-24 20:22:22 +08:00

12 lines
442 B
JavaScript

Volcanos(chat.ONIMPORT, {
_init: function(can, msg) { can.onimport.shareTitle(can, msg)
can.onimport.itemcards(can, msg, function(value) { return [
{view: html.TITLE, list: [value.title]},
{view: html.STATUS, list: [
value.uid.slice(0, 6), can.base.TimeTrim(value.created_at),
value.user_name, can.onimport.textView(can, value, "user_cloud_role", aaa.ROLE),
]},
{view: html.OUTPUT, list: [value.content]},
] })
},
})