From 347d6b6f4b4ede6b5ed184d46a9a90b4d49b2429 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Tue, 23 Jun 2020 15:04:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=84=E7=BB=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/components/property/addSmallWeChat/addSmallWeChat.js | 5 +++-- public/pages/frame/orgManage/orgManage.html | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/public/components/property/addSmallWeChat/addSmallWeChat.js b/public/components/property/addSmallWeChat/addSmallWeChat.js index 6e57dd1f9..bcd5a3db1 100644 --- a/public/components/property/addSmallWeChat/addSmallWeChat.js +++ b/public/components/property/addSmallWeChat/addSmallWeChat.js @@ -124,7 +124,8 @@ }, function (json, res) { //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); - if (res.status == 200) { + let _json = JSON.parse(json) + if (_json.status == '0') { //关闭model $('#addSmallWeChatModel').modal('hide'); vc.component.clearAddSmallWeChatInfo(); @@ -132,7 +133,7 @@ return; } - vc.message(json); + vc.message(_json.msg); }, function (errInfo, error) { diff --git a/public/pages/frame/orgManage/orgManage.html b/public/pages/frame/orgManage/orgManage.html index 0d43b324a..0fd25eeb6 100644 --- a/public/pages/frame/orgManage/orgManage.html +++ b/public/pages/frame/orgManage/orgManage.html @@ -84,7 +84,7 @@