Showing
1 changed file
with
3 additions
and
0 deletions
@@ -36,6 +36,9 @@ function getProductInfo(skn, promotionId) { | @@ -36,6 +36,9 @@ function getProductInfo(skn, promotionId) { | ||
36 | return; | 36 | return; |
37 | } | 37 | } |
38 | console.log(res); | 38 | console.log(res); |
39 | + if (!panelTmpl) { | ||
40 | + return; | ||
41 | + } | ||
39 | if (res.code === 200) { | 42 | if (res.code === 200) { |
40 | $chosePanel.html(panelTmpl(res.data)); | 43 | $chosePanel.html(panelTmpl(res.data)); |
41 | chosePanel.show(); | 44 | chosePanel.show(); |
-
Please register or login to post a comment