diff --git a/src/views/system/attribute/index.vue b/src/views/system/attribute/index.vue index 615c4ce5..957d075f 100644 --- a/src/views/system/attribute/index.vue +++ b/src/views/system/attribute/index.vue @@ -250,7 +250,7 @@ export default { if (valid) { if (this.form.recordId != null) { updateAttribute(this.form).then((response) => { - if (response.msg === '操作成功') { + if (response.msg === 'ok') { this.$store.dispatch("SetAttributeByKey", { [this.form.enterpriseAttribute]: this.form.attributeValue }) @@ -263,7 +263,7 @@ export default { }); } else { addAttribute(this.form).then((response) => { - if (response.msg === '操作成功') { + if (response.msg === 'ok') { this.$store.dispatch("SetAttributeByKey", { [this.form.enterpriseAttribute]: this.form.attributeValue })