From d3a429f0036e3bcf541b303ef1c53bd1071e985d Mon Sep 17 00:00:00 2001 From: lyt Date: Mon, 28 Jan 2019 09:28:25 +0800 Subject: [PATCH] =?UTF-8?q?og:title=E5=AD=97=E6=95=B0=E9=99=90=E5=88=B6,?= =?UTF-8?q?=E4=B8=8D=E8=AE=BE=E5=AE=9A=E4=B8=8A=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/views/bootstrap3/header.php | 2 +- js/information-system3.min.js | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/application/views/bootstrap3/header.php b/application/views/bootstrap3/header.php index 026c1be9..7ff1d696 100644 --- a/application/views/bootstrap3/header.php +++ b/application/views/bootstrap3/header.php @@ -5,7 +5,7 @@ 信息平台 - + diff --git a/js/information-system3.min.js b/js/information-system3.min.js index a3d7849d..9d86c10e 100644 --- a/js/information-system3.min.js +++ b/js/information-system3.min.js @@ -539,10 +539,7 @@ function get_ajax_reviewed_list(formid, container, flag) { function count_valid(element, element_text, from, to) { if (from <= 0) { return true;} var element_value_cnt = get_string_length_site(element) ; - if (to > 0 && (element_value_cnt < from || element_value_cnt > to) ) { - $.modaldialog.error(element_text + "长度必须在" + from + "~" + to + "个字符之间") - return false - } else if (to <= 0 && element_value_cnt < from) { + if (element_value_cnt < from) { $.modaldialog.error(element_text + "长度必须大于" + from + "个字符") return false }