Showing
2 changed files
with
4 additions
and
0 deletions
@@ -368,8 +368,12 @@ export default { | @@ -368,8 +368,12 @@ export default { | ||
368 | } else { | 368 | } else { |
369 | list[key] = data[key]; | 369 | list[key] = data[key]; |
370 | } | 370 | } |
371 | + if (!data.product_list) { | ||
372 | + this.productList.list = []; | ||
373 | + } | ||
371 | } | 374 | } |
372 | this.productList = list; | 375 | this.productList = list; |
376 | + | ||
373 | } | 377 | } |
374 | } catch (e) { | 378 | } catch (e) { |
375 | // console.log(e); | 379 | // console.log(e); |
-
Please register or login to post a comment