update
This commit is contained in:
@@ -54,17 +54,19 @@ export default {
|
||||
userId:localStorage.getItem("userId")
|
||||
}
|
||||
}).then(function (res) {
|
||||
if(res.data){
|
||||
if(res){
|
||||
_this.infoData.cateNum=res.data.cateNum;
|
||||
_this.infoData.urlListNum=res.data.urlListNum;
|
||||
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
}).catch((error) => {
|
||||
Vue.prototype.$notify.error({
|
||||
title: '错误',
|
||||
message: error,
|
||||
offset: 0
|
||||
});
|
||||
// Vue.prototype.$notify.error({
|
||||
// title: '错误',
|
||||
// message: error,
|
||||
// offset: 0
|
||||
// });
|
||||
})
|
||||
}else {
|
||||
Vue.prototype.$notify.error({
|
||||
|
Reference in New Issue
Block a user