Commit c6796f27 by crushh

update: 老数据兼容

parent ccdf44fc
......@@ -1023,8 +1023,8 @@ export default {
const type = Number(showStore);
this.visibleData.sendChildData.storeType = type; // :0所有 1门店分组 2部分门店
if (type == 1) {
const arr = storeGroupIds.split(',');
this.visibleData.sendChildData.storeGroupIds = arr.join(',');
const arr = storeGroupIds && storeGroupIds.split(',');
this.visibleData.sendChildData.storeGroupIds = arr && arr.join(',');
} else if (type == 2) {
this.visibleData.sendChildData.storeIds = storeInfo;
}
......
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