panhui 4 năm trước cách đây
mục cha
commit
e9813064e4

+ 9 - 5
src/main/comos/src/views/user/Followers.vue

@@ -31,11 +31,15 @@ export default {
             forbidClick: true
         });
         this.empty = false;
-        this.$http.get('/user/myFollowers').then(res => {
-            this.list = res;
-            this.empty = res.length === 0;
-            this.$toast.clear();
-        });
+        this.$http
+            .get('/user/myFollowers', {
+                projectId: this.$store.state.projectId
+            })
+            .then(res => {
+                this.list = res;
+                this.empty = res.length === 0;
+                this.$toast.clear();
+            });
     }
 };
 </script>

+ 9 - 5
src/main/comos/src/views/user/Follows.vue

@@ -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();
+                });
         }
     }
 };

+ 9 - 5
src/main/comos/src/views/user/Likes.vue

@@ -76,11 +76,15 @@ export default {
                 forbidClick: true
             });
             this.empty = false;
-            this.$http.get('/collection/myLikes').then(res => {
-                this.list = res;
-                this.empty = res.length === 0;
-                this.$toast.clear();
-            });
+            this.$http
+                .get('/collection/myLikes', {
+                    projectId: this.$store.state.projectId
+                })
+                .then(res => {
+                    this.list = res;
+                    this.empty = res.length === 0;
+                    this.$toast.clear();
+                });
         },
         change() {
             this.$root.$el.scrollTop = 0;

+ 9 - 5
src/main/modern-point/src/views/user/Followers.vue

@@ -31,11 +31,15 @@ export default {
             forbidClick: true
         });
         this.empty = false;
-        this.$http.get('/user/myFollowers').then(res => {
-            this.list = res;
-            this.empty = res.length === 0;
-            this.$toast.clear();
-        });
+        this.$http
+            .get('/user/myFollowers', {
+                projectId: this.$store.state.projectId
+            })
+            .then(res => {
+                this.list = res;
+                this.empty = res.length === 0;
+                this.$toast.clear();
+            });
     }
 };
 </script>

+ 9 - 5
src/main/modern-point/src/views/user/Follows.vue

@@ -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();
+                });
         }
     }
 };

+ 9 - 5
src/main/modern-point/src/views/user/Likes.vue

@@ -76,11 +76,15 @@ export default {
                 forbidClick: true
             });
             this.empty = false;
-            this.$http.get('/collection/myLikes').then(res => {
-                this.list = res;
-                this.empty = res.length === 0;
-                this.$toast.clear();
-            });
+            this.$http
+                .get('/collection/myLikes', {
+                    projectId: this.$store.state.projectId
+                })
+                .then(res => {
+                    this.list = res;
+                    this.empty = res.length === 0;
+                    this.$toast.clear();
+                });
         },
         change() {
             this.$root.$el.scrollTop = 0;

+ 9 - 5
src/main/nine-space/src/views/user/Followers.vue

@@ -31,11 +31,15 @@ export default {
             forbidClick: true
         });
         this.empty = false;
-        this.$http.get('/user/myFollowers').then(res => {
-            this.list = res;
-            this.empty = res.length === 0;
-            this.$toast.clear();
-        });
+        this.$http
+            .get('/user/myFollowers', {
+                projectId: this.$store.state.projectId
+            })
+            .then(res => {
+                this.list = res;
+                this.empty = res.length === 0;
+                this.$toast.clear();
+            });
     }
 };
 </script>

+ 10 - 6
src/main/nine-space/src/views/user/Follows.vue

@@ -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;

+ 9 - 5
src/main/nine-space/src/views/user/Likes.vue

@@ -76,11 +76,15 @@ export default {
                 forbidClick: true
             });
             this.empty = false;
-            this.$http.get('/collection/myLikes').then(res => {
-                this.list = res;
-                this.empty = res.length === 0;
-                this.$toast.clear();
-            });
+            this.$http
+                .get('/collection/myLikes', {
+                    projectId: this.$store.state.projectId
+                })
+                .then(res => {
+                    this.list = res;
+                    this.empty = res.length === 0;
+                    this.$toast.clear();
+                });
         },
         change() {
             this.$root.$el.scrollTop = 0;