blob: 0dab6ac7b346ce4b919bd3ea0d7fd5d523be4135 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<template>
<mk-users-list
:fetch="fetch"
:count="user.followingCount"
:you-know-count="user.following_you_know_count"
>
フォロー中のユーザーはいないようです。
</mk-users-list>
</template>
<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
props: ['user'],
methods: {
fetch(iknow, limit, cursor, cb) {
(this as any).api('users/following', {
userId: this.user.id,
iknow: iknow,
limit: limit,
cursor: cursor ? cursor : undefined
}).then(cb);
}
}
});
</script>
|