From 1ca2a5fde88184c719de81c370bf4c197542f1fc Mon Sep 17 00:00:00 2001 From: gaojuan Date: Wed, 18 Apr 2018 20:21:33 +0800 Subject: [PATCH] update --- fangija-zsyf/js/quotations/cityDetail.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/fangija-zsyf/js/quotations/cityDetail.js b/fangija-zsyf/js/quotations/cityDetail.js index 1e54162..47fcc76 100644 --- a/fangija-zsyf/js/quotations/cityDetail.js +++ b/fangija-zsyf/js/quotations/cityDetail.js @@ -482,6 +482,8 @@ function collectCity(city, type){ if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") { clicked('../user/codeSms.html',true,false,{},{},function(){ collectCity(city, type) + plus.webview.getWebviewById('views/house/houseManageList.html').reload(); + plus.webview.getWebviewById('views/user/userInfo.html').reload(); }) return; } else { @@ -495,11 +497,13 @@ function collectCity(city, type){ $.confirm(title, function () { docollectCity(city, type) - + plus.webview.getWebviewById('views/house/houseDetail.html').reload(); + },function(){ + plus.webview.getWebviewById('views/house/houseDetail.html').reload(); + //loadMyCollectCity(); }); - plus.webview.getWebviewById('views/house/houseDetail.html').reload(); - plus.webview.getWebviewById('views/house/houseManageList.html').reload(); - plus.webview.getWebviewById('views/user/userInfo.html').reload(); + + }