mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
v1.9 优化客户黄反馈bug
This commit is contained in:
parent
946eab9514
commit
52b5e4b9fb
@ -191,12 +191,12 @@ export default {
|
||||
}
|
||||
saveOwnerMember(params)
|
||||
.then(res => {
|
||||
if (res.code === 0) {
|
||||
if (res.code == 0) {
|
||||
this.$message.success(this.$t('common.saveSuccess'))
|
||||
this.dialogVisible = false
|
||||
this.$emit('success')
|
||||
} else {
|
||||
this.$message.error(res.data.msg || this.$t('common.saveFailed'))
|
||||
this.$message.error(res.msg || this.$t('common.saveFailed'))
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
|
||||
@ -150,6 +150,7 @@ export default {
|
||||
},
|
||||
handleSuccess() {
|
||||
this.$refs.machineTypeTree.refreshTree()
|
||||
this.handleSwitchType(this.machineTypeInfo)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user