Showing
1 changed file
with
1 additions
and
1 deletions
@@ -31,7 +31,7 @@ | @@ -31,7 +31,7 @@ | ||
31 | var queryStr = window.location.search.substring(1); | 31 | var queryStr = window.location.search.substring(1); |
32 | 32 | ||
33 | productId = queryStr.split('&')[0].split('=')[1]; | 33 | productId = queryStr.split('&')[0].split('=')[1]; |
34 | - total = queryStr.split('&')[1] ? queryStr.split('&')[1].split('=')[1] : undefined; | 34 | + total = queryStr.split('&')[1] ? queryStr.split('&')[1].split('=')[1] : null; |
35 | }()); | 35 | }()); |
36 | 36 | ||
37 | if (goodsConsultsHammer) { | 37 | if (goodsConsultsHammer) { |
-
Please register or login to post a comment