1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-04-06 23:08:30 +08:00
parent 25424870c6
commit 840a166ad1

View File

@ -277,9 +277,8 @@ Volcanos(chat.ONIMPORT, {_init: function(can, msg, cb) { var paths = can.core.Sp
layout: function(can) { layout: function(can) {
if (can.isCmdMode()) { can.ConfHeight(can.page.height()) } if (can.isCmdMode()) { can.ConfHeight(can.page.height()) }
if (can.isSimpleMode() && !can.page.tagis(can._fields, "fieldset.float")) { can.page.style(can, can._output, html.MAX_HEIGHT, "") } if (can.isSimpleMode() && !can.page.tagis(can._fields, "fieldset.float")) { can.page.style(can, can._output, html.MAX_HEIGHT, "") }
if (can.isSimpleMode() || can.Conf(ctx.STYLE) == html.OUTPUT) { if (can.Conf(ctx.STYLE) == html.OUTPUT) { return can.page.style(can, can.ui.content, html.WIDTH, can.ConfWidth()) }
can.ui.layout(can.ConfHeight(), can.ConfWidth()) if (can.isSimpleMode()) { can.ui.layout(can.ConfHeight(), can.ConfWidth()); return can.page.style(can, can.ui.content, html.WIDTH, can.ConfWidth()) }
return can.page.style(can, can.ui.content, html.WIDTH, can.ConfWidth()) }
var content = can.ui.content; if (!content) { return } if (content._root) { can.ui.content = content._root } var content = can.ui.content; if (!content) { return } if (content._root) { can.ui.content = content._root }
can.ui.size = {profile: can._msg.Option(html.WIDTH), display: can._msg.Option(html.HEIGHT)} can.ui.size = {profile: can._msg.Option(html.WIDTH), display: can._msg.Option(html.HEIGHT)}
can.ui.layout(can.ConfHeight(), can.ConfWidth(), 0, function(height, width) { can.ui.layout(can.ConfHeight(), can.ConfWidth(), 0, function(height, width) {