Commit 52b5e4b9fb8af404893c45f9b64da926422c55dc
1 parent
946eab95
v1.9 优化客户黄反馈bug
Showing
2 changed files
with
3 additions
and
2 deletions
src/components/owner/addOwnerMember.vue
| ... | ... | @@ -191,12 +191,12 @@ export default { |
| 191 | 191 | } |
| 192 | 192 | saveOwnerMember(params) |
| 193 | 193 | .then(res => { |
| 194 | - if (res.code === 0) { | |
| 194 | + if (res.code == 0) { | |
| 195 | 195 | this.$message.success(this.$t('common.saveSuccess')) |
| 196 | 196 | this.dialogVisible = false |
| 197 | 197 | this.$emit('success') |
| 198 | 198 | } else { |
| 199 | - this.$message.error(res.data.msg || this.$t('common.saveFailed')) | |
| 199 | + this.$message.error(res.msg || this.$t('common.saveFailed')) | |
| 200 | 200 | } |
| 201 | 201 | }) |
| 202 | 202 | .catch(err => { | ... | ... |