From 4cedaed64212daa76f1942fb8d89e629037ac258 Mon Sep 17 00:00:00 2001 From: harveyshao Date: Fri, 15 Jul 2022 21:34:03 +0800 Subject: [PATCH] opt some --- plugin/story/trend.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin/story/trend.js b/plugin/story/trend.js index bb4d04d5..75aa94dc 100644 --- a/plugin/story/trend.js +++ b/plugin/story/trend.js @@ -115,7 +115,9 @@ Volcanos(chat.ONDETAIL, {help: "用户交互", }) Volcanos(chat.ONEXPORT, {help: "导出数据", list: ["from", "commit", "total", "max", "date", "text", "add", "del"], height: function(can) { var height = can.Action(html.HEIGHT) - if (height == ice.AUTO) { height = can.base.Max(can.ConfHeight(), 600) } + if (height == ice.AUTO) { height = can.ConfHeight() + can.isFullMode() || (height = can.base.Max(can.ConfHeight(), 600)) + } if (height < 200) { height = 200 } return parseInt(height||can._root._height/2) },