Commit 7401cae2 by chenwq

```

refactor(claims): 简化批量导入组件的成功处理逻辑

- 移除多余的代码缩进和换行
- 将多行if语句合并为单行简洁表达式
- 删除不必要的this.$emit('update:visible', false)调用
```
1 parent 2606f8b5
...@@ -96,10 +96,7 @@ export default { ...@@ -96,10 +96,7 @@ export default {
return return
} }
this.setResult(res.data || {}) this.setResult(res.data || {})
if (this.result.successCount > 0) { if (this.result.successCount > 0) this.$emit('success')
this.$emit('success')
this.$emit('update:visible', false)
}
}) })
.catch(() => {}) .catch(() => {})
.finally(() => { .finally(() => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!