This commit is contained in:
syuilo
2018-06-23 23:18:39 +09:00
parent a8017369d0
commit b502627494
3 changed files with 15 additions and 13 deletions

View File

@@ -20,18 +20,12 @@
<script lang="ts">
import Vue from 'vue';
import * as age from 's-age';
import MkUserListsWindow from '../../components/user-lists-window.vue';
export default Vue.extend({
props: ['user'],
computed: {
age(): number {
return age(this.user.profile.birthday);
}
},
methods: {
methods: {
stalk() {
(this as any).api('following/stalk', {
userId: this.user.id