1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-27 01:28:28 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-11-03 12:20:36 +08:00
parent 563208cd88
commit db2d0d8b6a

View File

@ -146,6 +146,7 @@ Volcanos(chat.ONIMPORT, {_init: function(can, msg, target) { can.onmotion.clear(
}}, {view: html.LIST}]); can.onimport.list(can, item, cb, ui.list, cbs) })
},
tabs: function(can, list, cb, cbs, action) { action = action||can._action; return can.page.Append(can, action, can.core.List(list, function(tabs) {
if (typeof tabs == "string") { tabs = {name: tabs} }
function close(target) {
if (can.page.ClassList.has(can, target, html.SELECT)) {
var next = target.nextSibling||target.previousSibling; if (!next) { return } next.click()