Commit d94b01bf by 前端

sentry

1 parent cb56bde6
......@@ -552,9 +552,10 @@ export default {
},
handleSelect(val) {
this.isUpdate = true
this.tagging = val
this.tagging = val || []
let arr = []
this.tagging.forEach(item => {
item.labelList = item.labelList || []
item.labelList.forEach(tag => {
arr.push({
groupId: item.labelGroup.id,
......@@ -579,6 +580,7 @@ export default {
}
let arr = []
this.tagging.forEach(item => {
item.labelList = item.labelList || []
item.labelList.forEach(tag => {
arr.push({
groupId: item.labelGroup.id,
......
......@@ -358,10 +358,10 @@ export default {
if (res.code == '0') {
if (type == 1) {
this.time = res.data.createdTime
this.$refs.customer.refreshTable()
this.$refs.customer && this.$refs.customer.refreshTable()
} else if (type == 2) {
this.times = res.data.createdTime
this.$refs.customerGroup.refreshTable()
this.$refs.customerGroup && this.$refs.customerGroup.refreshTable()
}
}
})
......@@ -412,9 +412,9 @@ export default {
message: '操作成功!'
})
if (type == 1) {
this.$refs.customer.refreshTable()
this.$refs.customer && this.$refs.customer.refreshTable()
} else {
this.$refs.customerGroup.refreshTable()
this.$refs.customerGroup && this.$refs.customerGroup.refreshTable()
}
})
// } else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!