From 2633f776bb8fdb0b1efe3a56293b6a1bb04616a7 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期日, 28 四月 2019 10:48:14 +0800
Subject: [PATCH] Merge branch 'master' of https://github.com/java110/MicroCommunity

---
 WebService/src/main/resources/components/store-enter-community/storeEnterCommunity.js |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/WebService/src/main/resources/components/store-enter-community/storeEnterCommunity.js b/WebService/src/main/resources/components/store-enter-community/storeEnterCommunity.js
index 9a40ece..ff6270a 100644
--- a/WebService/src/main/resources/components/store-enter-community/storeEnterCommunity.js
+++ b/WebService/src/main/resources/components/store-enter-community/storeEnterCommunity.js
@@ -67,6 +67,7 @@
                    );
              },
             _saveEnterCommunity:function(_communityInfo){
+                vc.loading('open');
                 var _param = {
                     communityId:_communityInfo.communityId
                 };
@@ -80,13 +81,18 @@
                              function(json,res){
                                 if(res.status == 200){
                                     vc.emit('enterCommunity','listMyCommunity',{
-                                    })
+                                    });
+                                    $('#storeEnterCommunityModel').modal('hide');
+
+                                    vc.loading('close');
                                     return ;
                                 }
                                 vc.component.storeEnterCommunityInfo.errorInfo = json;
                              },function(errInfo,error){
                                 console.log('璇锋眰澶辫触澶勭悊');
                                 vc.component.storeEnterCommunityInfo.errorInfo = json;
+                                vc.loading('close');
+
                              }
                            );
 

--
Gitblit v1.8.0