Commit dc418aa2 by 前端

Merge branch 'xuyl_dev_sop' into 'v3.5.0'

修复marketing/customerTransform/addCustomer sentry报错问题

See merge request !438
2 parents f5231cf7 82269977
...@@ -553,7 +553,7 @@ export default { ...@@ -553,7 +553,7 @@ export default {
this.isUpdate = true this.isUpdate = true
this.tagging = val || [] this.tagging = val || []
let arr = [] let arr = []
this.tagging.forEach(item => { this.tagging && this.tagging.forEach(item => {
item.labelList = item.labelList || [] item.labelList = item.labelList || []
item.labelList.forEach(tag => { item.labelList.forEach(tag => {
arr.push({ arr.push({
...@@ -578,7 +578,7 @@ export default { ...@@ -578,7 +578,7 @@ export default {
this.tagging.splice(idx, 1) this.tagging.splice(idx, 1)
} }
let arr = [] let arr = []
this.tagging.forEach(item => { this.tagging && this.tagging.forEach(item => {
item.labelList = item.labelList || [] item.labelList = item.labelList || []
item.labelList.forEach(tag => { item.labelList.forEach(tag => {
arr.push({ arr.push({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!