This commit is contained in:
zongzhimin
2018-04-12 15:19:52 +08:00
parent 719c9653ec
commit b64367aff7
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ function addCollect(){
$(".collection02").show(); $(".collection02").show();
$.toast("随时掌握小区动态"); $.toast("随时掌握小区动态");
} }
plus.webview.getWebviewById('/views/user/userInfo.html').reload();
}) })
.catch(function (error) { .catch(function (error) {
console.log(error); console.log(error);
@@ -65,7 +65,7 @@ function removeCollect(){
$(".collection01").show(); $(".collection01").show();
$.toast("取消关注"); $.toast("取消关注");
} }
plus.webview.getWebviewById('/views/user/userInfo.html').reload();
}) })
.catch(function (error) { .catch(function (error) {
console.log(error); console.log(error);
+1
View File
@@ -525,6 +525,7 @@ function collect(){
$(".collection").removeClass("collection02") $(".collection").removeClass("collection02")
$(".collection i").removeClass("icon-collection02") $(".collection i").removeClass("icon-collection02")
} }
plus.webview.getWebviewById('/views/user/userInfo.html').reload()
} }
$.toast(msg); $.toast(msg);