This commit is contained in:
syuilo 2018-02-22 23:05:05 +09:00
parent 4b228432c1
commit e98626dbbc
8 changed files with 22 additions and 10 deletions

View file

@ -8,7 +8,7 @@
</nav>
<div class="users" v-if="!fetching && users.length != 0">
<div v-for="u in users" :key="u.id">
<mk-list-user :user="u"/>
<x-item :user="u"/>
</div>
</div>
<button class="more" v-if="!fetching && next != null" @click="more" :disabled="moreFetching">
@ -24,7 +24,12 @@
<script lang="ts">
import Vue from 'vue';
import XItem from './users-list.item.vue';
export default Vue.extend({
components: {
XItem
},
props: ['fetch', 'count', 'youKnowCount'],
data() {
return {