diff --git a/frame.js b/frame.js index d1c95add..f19a798a 100644 --- a/frame.js +++ b/frame.js @@ -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) { diff --git a/plugin/story/spide.js b/plugin/story/spide.js index 097c31ef..973606c3 100644 --- a/plugin/story/spide.js +++ b/plugin/story/spide.js @@ -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")