1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
shylinux 2020-07-21 10:59:46 +08:00
parent 5f42eee685
commit fff40943c5
2 changed files with 2 additions and 1 deletions

View File

@ -539,6 +539,7 @@ Volcanos("onappend", { _init: function(can, meta, list, cb, target, field) { met
},
}, [], function(can) {})
Volcanos("onlayout", { _init: function(can, meta, list, cb, target) {
if (can.user.Search(can, "share")) { return typeof cb == "function" && cb() }
var width = can._width, height = can._height
can.page.Select(can, target, "fieldset.head", function(field) {

View File

@ -17,7 +17,7 @@ Volcanos("onimport", {help: "导入数据", list: [],
can.page.Modify(can, sub._status, {style: {display: "none"}})
sub.run = function(event, cmds, cb, silent) {
typeof cb == "function" && cb(can.request(event))
can.Timer(100, function() {
can.Timer(1000, function() {
can.sub = sub._outputs[0]
can.msg = msg, can.data = msg.Table()
can.Action("height", "400")