This commit is contained in:
zongzhimin
2018-04-13 18:24:30 +08:00
parent e20b84e4aa
commit 7208804c02
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -14,5 +14,6 @@ axios.interceptors.request.use(function (config) {
axios.interceptors.response.use(function (response) {
return response;
}, function (error) {
return Promise.reject(error);
clicked('error.html',true,false,{},{},function(){})
return Promise.reject(error);
});
@@ -35,6 +35,8 @@ function addCollect(){
}
alert(12)
plus.webview.getWebviewById('views/user/userInfo.html').reload();
plus.webview.getWebviewById('yfindex.html').reload();
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
})
.catch(function (error) {
console.log(error);
@@ -67,6 +69,8 @@ function removeCollect(){
$.toast("取消关注");
}
plus.webview.getWebviewById('views/user/userInfo.html').reload();
plus.webview.getWebviewById('yfindex.html').reload();
plus.webview.getWebviewById('views/house/houseManageList.html').reload();
})
.catch(function (error) {
console.log(error);