YOUFANG
This commit is contained in:
@@ -14,5 +14,6 @@ axios.interceptors.request.use(function (config) {
|
|||||||
axios.interceptors.response.use(function (response) {
|
axios.interceptors.response.use(function (response) {
|
||||||
return response;
|
return response;
|
||||||
}, function (error) {
|
}, function (error) {
|
||||||
return Promise.reject(error);
|
clicked('error.html',true,false,{},{},function(){})
|
||||||
|
return Promise.reject(error);
|
||||||
});
|
});
|
||||||
@@ -35,6 +35,8 @@ function addCollect(){
|
|||||||
}
|
}
|
||||||
alert(12)
|
alert(12)
|
||||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
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) {
|
.catch(function (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
@@ -67,6 +69,8 @@ function removeCollect(){
|
|||||||
$.toast("取消关注");
|
$.toast("取消关注");
|
||||||
}
|
}
|
||||||
plus.webview.getWebviewById('views/user/userInfo.html').reload();
|
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) {
|
.catch(function (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
|
|||||||
Reference in New Issue
Block a user