mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt lark
This commit is contained in:
parent
5f42eee685
commit
fff40943c5
1
frame.js
1
frame.js
@ -539,6 +539,7 @@ Volcanos("onappend", { _init: function(can, meta, list, cb, target, field) { met
|
|||||||
},
|
},
|
||||||
}, [], function(can) {})
|
}, [], function(can) {})
|
||||||
Volcanos("onlayout", { _init: function(can, meta, list, cb, target) {
|
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
|
var width = can._width, height = can._height
|
||||||
|
|
||||||
can.page.Select(can, target, "fieldset.head", function(field) {
|
can.page.Select(can, target, "fieldset.head", function(field) {
|
||||||
|
@ -17,7 +17,7 @@ Volcanos("onimport", {help: "导入数据", list: [],
|
|||||||
can.page.Modify(can, sub._status, {style: {display: "none"}})
|
can.page.Modify(can, sub._status, {style: {display: "none"}})
|
||||||
sub.run = function(event, cmds, cb, silent) {
|
sub.run = function(event, cmds, cb, silent) {
|
||||||
typeof cb == "function" && cb(can.request(event))
|
typeof cb == "function" && cb(can.request(event))
|
||||||
can.Timer(100, function() {
|
can.Timer(1000, function() {
|
||||||
can.sub = sub._outputs[0]
|
can.sub = sub._outputs[0]
|
||||||
can.msg = msg, can.data = msg.Table()
|
can.msg = msg, can.data = msg.Table()
|
||||||
can.Action("height", "400")
|
can.Action("height", "400")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user