v1.9 优化客户黄反馈bug

This commit is contained in:
wuxw 2025-09-28 09:39:13 +08:00
parent 946eab9514
commit 52b5e4b9fb
2 changed files with 3 additions and 2 deletions

View File

@ -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 => {

View File

@ -150,6 +150,7 @@ export default {
},
handleSuccess() {
this.$refs.machineTypeTree.refreshTree()
this.handleSwitchType(this.machineTypeInfo)
}
}
}