商品规格操作优化

This commit is contained in:
devil_gong
2019-09-23 17:31:30 +08:00
parent 0b607d3229
commit ccbf4f39ff

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;