1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
volcanos/pane/Debug.js
2021-01-07 21:17:38 +08:00

21 lines
726 B
JavaScript

Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg, list, cb, target) {
can.require(["/require/github.com/Tencent/vConsole/dist/vconsole.min.js"], function(can) {
var v = new VConsole();
console.log(v);
})
},
})
Volcanos("onaction", {help: "交互数据", list: [], _init: function(can, msg, list, cb, target) {
can.onimport._init(can, msg, list, cb, target)
can.user.log = function() {
can.page.Append(can, can._output, [{td: [
can.base.Time(),
can.base.FileLine(),
].concat(can.core.List(arguments))}])
}
},
})
Volcanos("onexport", {help: "导出数据", list: []})