From 60b3d4766b006a74173e5fa06ef84c49b1218bc5 Mon Sep 17 00:00:00 2001 From: 23688nl <329261568@qq.com> Date: Fri, 23 Sep 2022 15:10:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=EF=BC=9A=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=85=8D=E7=BD=AE=E7=AE=A1=E7=90=86=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E4=BF=AE=E6=94=B9=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/attribute/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 })