From ccbf4f39ff6b4697604a79509699d057fac3382c Mon Sep 17 00:00:00 2001 From: devil_gong Date: Mon, 23 Sep 2019 17:31:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E8=A7=84=E6=A0=BC=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/admin/default/js/goods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/static/admin/default/js/goods.js b/public/static/admin/default/js/goods.js index cca761e5f..8f5da0381 100755 --- a/public/static/admin/default/js/goods.js +++ b/public/static/admin/default/js/goods.js @@ -300,7 +300,7 @@ $(function() { value = 1; } - var spec_count = $('.specifications-table th.table-title').length || 0; + var spec_count = $('.specifications-table th.table-title').length || 1; if(value > spec_count) { value = spec_count;