mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
619e35c71a
commit
f3a6de8624
@ -171,7 +171,7 @@ Volcanos("page", {
|
||||
AppendTable: function(can, msg, target, list, cb) { if (!msg.append||msg.append.length == 0) { return }
|
||||
var ui = can.page.Append(can, target, [{type: html.TABLE, list: [
|
||||
{type: "colgroup", list: can.core.List(list, function(key) { if (key[0] != "_") {
|
||||
if (can.Option(key) == undefined) { return {view: [key, "col"]} } return {view: [[key, "option"], "col"]}
|
||||
if (can.Option(key) == undefined) { return {view: [key, "col"]} } return {view: [[key, "option"], "col"]}
|
||||
} }) }, {type: html.THEAD}, {type: html.TBODY}]}])
|
||||
|
||||
can.page.Append(can, ui.thead, [{data: {dataset: {index: -1}}, th: can.core.List(list, function(key) { if (key[0] != "_") { return key } }) }])
|
||||
|
Loading…
x
Reference in New Issue
Block a user