商品规格操作优化

feat/task1-c-wallet
devil_gong 2019-09-23 17:31:30 +08:00
parent 0b607d3229
commit ccbf4f39ff
1 changed files with 1 additions and 1 deletions

View File

@ -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;