|
|
@@ -46,11 +46,15 @@ export default {
|
|
|
forbidClick: true
|
|
|
});
|
|
|
this.empty = false;
|
|
|
- this.$http.get('/user/myFollows').then(res => {
|
|
|
- this.list = res;
|
|
|
- this.empty = res.length === 0;
|
|
|
- this.$toast.clear();
|
|
|
- });
|
|
|
+ this.$http
|
|
|
+ .get('/user/myFollows', {
|
|
|
+ projectId: this.$store.state.projectId
|
|
|
+ })
|
|
|
+ .then(res => {
|
|
|
+ this.list = res;
|
|
|
+ this.empty = res.length === 0;
|
|
|
+ this.$toast.clear();
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
@@ -58,7 +62,7 @@ export default {
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
.follow {
|
|
|
- background-color: @bg3;;
|
|
|
+ background-color: @bg3;
|
|
|
}
|
|
|
.top {
|
|
|
background-color: @bg;
|