Commit 3fe3657e by chenwq

```

fix(withdraw): 修复标签表单保存逻辑

- 移除错误状态判断,统一处理成功响应
- 简化条件判断逻辑,提高代码可读性
- 保持成功消息显示和后续操作流程
```
1 parent 21b251a4
......@@ -94,13 +94,11 @@ export default {
this.$apis.withdraw
.saveTag(params)
.then(res => {
if (res && res.code && res.code != '0') {
this.$message.error(res.message || '保存失败')
return
if (res) {
this.$message.success('保存成功')
this.$emit('success')
this.handleClose()
}
this.$message.success('保存成功')
this.$emit('success')
this.handleClose()
})
.finally(() => {
this.loading = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!