Authored by 李靖

lodash优化

... ... @@ -41,7 +41,7 @@ class materialModel extends global.yoho.BaseModel {
goods: []
};
if (result && result.data && result.data.product_list) {
if (_.get(result, 'data.product_list', [])) {
let build = [];
build = productProcess.processProductList(result.data.product_list || [], {
... ...