mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
add footer
This commit is contained in:
parent
89093eb5bc
commit
5c9042f9c7
@ -1,10 +1,14 @@
|
||||
Volcanos("onimport", {help: "导入数据", list: [],
|
||||
_init: function(can, conf, output, action, option, field) {output.innerHTML = "";
|
||||
conf.title && can.page.Append(can, output, [{view: "title", list: [{text: conf.title, className: "title"}]}])
|
||||
can.run({}, [], function(msg) {
|
||||
can.core.List(msg.result, function(title) {
|
||||
can.page.Append(can, output, [{view: "title", list: [{text: title, className: "title"}]}])
|
||||
})
|
||||
|
||||
can.ui = can.page.Append(can, output, [{view: "state", list: can.core.List(conf.state, function(item) {
|
||||
return {text: conf[item]||"", className: item, click: function(event) {can.Export(event, conf[item], item)}};
|
||||
})}])
|
||||
can.ui = can.page.Append(can, output, [{view: "state", list: can.core.List(conf.state, function(item) {
|
||||
return {text: conf[item]||"", className: item, click: function(event) {can.Export(event, conf[item], item)}};
|
||||
})}])
|
||||
})
|
||||
},
|
||||
|
||||
email: function(event, can, value, cmd, field) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user