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