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