2019-05-20 16:44:36 -07:00
|
|
|
<template>
|
|
|
|
<div>
|
2020-02-08 10:41:11 -08:00
|
|
|
<div v-for="user in us" :key="user.id" style="display:inline-block;width:32px;height:32px;margin-right:8px;">
|
2020-02-07 23:51:27 -08:00
|
|
|
<mk-avatar :user="user" style="width:32px;height:32px;"/>
|
|
|
|
</div>
|
2019-05-20 16:44:36 -07:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
|
|
|
|
|
|
|
export default Vue.extend({
|
|
|
|
props: {
|
|
|
|
userIds: {
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
us: []
|
|
|
|
};
|
|
|
|
},
|
|
|
|
async created() {
|
|
|
|
this.us = await this.$root.api('users/show', {
|
|
|
|
userIds: this.userIds
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|