Commit 52b5e4b9fb8af404893c45f9b64da926422c55dc

Authored by wuxw
1 parent 946eab95

v1.9 优化客户黄反馈bug

src/components/owner/addOwnerMember.vue
@@ -191,12 +191,12 @@ export default { @@ -191,12 +191,12 @@ export default {
191 } 191 }
192 saveOwnerMember(params) 192 saveOwnerMember(params)
193 .then(res => { 193 .then(res => {
194 - if (res.code === 0) { 194 + if (res.code == 0) {
195 this.$message.success(this.$t('common.saveSuccess')) 195 this.$message.success(this.$t('common.saveSuccess'))
196 this.dialogVisible = false 196 this.dialogVisible = false
197 this.$emit('success') 197 this.$emit('success')
198 } else { 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 .catch(err => { 202 .catch(err => {
src/views/machine/machineTypeTreeManageList.vue
@@ -150,6 +150,7 @@ export default { @@ -150,6 +150,7 @@ export default {
150 }, 150 },
151 handleSuccess() { 151 handleSuccess() {
152 this.$refs.machineTypeTree.refreshTree() 152 this.$refs.machineTypeTree.refreshTree()
  153 + this.handleSwitchType(this.machineTypeInfo)
153 } 154 }
154 } 155 }
155 } 156 }