Commit f7f9a6ad by 李伟康

fix(精品店创建订单组件): 修复客户信息合并时的空值处理问题

1 parent 1fa43fd7
......@@ -1109,7 +1109,7 @@ export default {
obj.customer = {
...obj.customer,
...otherCustomer.reduce((acc, key) => {
if (obj[key] !== undefined) {
if (obj[key] !== undefined && obj[key] !== '' && obj[key] !== null) {
if (key == 'customerTags') {
obj[key] = obj[key].join(',')
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!