mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
修改跳转逻辑
This commit is contained in:
@@ -150,7 +150,7 @@ import apiUser from "@/api/system/user.js";
|
||||
toFollow(item) {
|
||||
apiFollow.save(item.userFollow.aid).then(res=>{
|
||||
if(res.status == 200) {
|
||||
// this.$message.success("关注成功");
|
||||
// this.$message.success("关注成功");
|
||||
this.getMyPage();
|
||||
} else {
|
||||
this.$message.error(res.message);
|
||||
@@ -158,10 +158,10 @@ import apiUser from "@/api/system/user.js";
|
||||
})
|
||||
},
|
||||
resetActive(){
|
||||
this.active=1;
|
||||
// this.active=1;
|
||||
this.follow={list:[],count:0,pageIndex:1,pageSize:10},
|
||||
this.followMe={list:[],count:0,pageIndex:1,pageSize:10},
|
||||
this.tagTab(1);
|
||||
this.tagTab(this.active);
|
||||
},
|
||||
cancel(item,idx) {
|
||||
let $this=this;
|
||||
|
||||
Reference in New Issue
Block a user