From 0836be6d9fff64eead486a4a9144ca9def165883 Mon Sep 17 00:00:00 2001 From: shy Date: Wed, 10 Jan 2024 14:41:06 +0800 Subject: [PATCH] add some --- README.md | 1 - panel/search.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 914f9425..30eb28ca 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,2 @@ # Volcanos Volcanos 是一个前端框架,通过集群化、模块化、自动化的方式,快速的开发、创建、共享各种应用程序和数据。 - diff --git a/panel/search.js b/panel/search.js index 6528a9c3..e54850d6 100644 --- a/panel/search.js +++ b/panel/search.js @@ -9,7 +9,7 @@ Volcanos(chat.ONIMPORT, {_init: function(can, msg) { can.onmotion.clear(can, can can.page.style(can, can._target, {left: left||0, top: top||0, width: width}), can.page.style(can, can._output, html.MAX_HEIGHT, height -= 2*10+(can.user.isMobile? 2: 1)*html.ACTION_HEIGHT+can.onexport.statusHeight(can)) can.core.List([can.ui.content, can.ui.display], function(target) { can.page.style(can, target, html.MAX_WIDTH, can.ConfWidth(width-2*10)) }) - can.ConfHeight(can.base.Min(height-can.ui.content.offsetHeight-can.ui.display.offsetHeight-1, height/2)) + can.ConfHeight(can.base.Min(height-can.ui.content.offsetHeight-can.ui.display.offsetHeight, height/2)) }) }, _input: function(can, msg, arg, fields) { if (can.base.contains(arg[1], ";")) { arg = can.core.Split(arg[1], "\t ;", "\t ;") } can.run(can.request({}, {fields: fields.join(mdb.FS)}, msg), arg, function(res) { can.db.type = arg[0]