Commit 69a1c77f authored by 张子雨's avatar 张子雨

Merge branch 'fix/shop' into 'master'

Fix/shop

See merge request !39
parents 8d593275 213fb582
......@@ -349,7 +349,7 @@ class goodsManage extends Component {
if (validateSpuInfo(values, initData, editData, productType)) return;
editData.forEach(item => {
item.productStockWarning = item.productStockWarning < 0 ? 0 : item.productStockWarning;
if (!item.imageList && !item.imageList.length) {
if (!item.imageList || !item.imageList.length) {
item.imageList = values.commonImageList || [];
}
if (!item.imageList || !item.imageList.length) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment