diff --git a/components/PostList.vue b/components/PostList.vue index f16b259..0c10dd6 100644 --- a/components/PostList.vue +++ b/components/PostList.vue @@ -11,16 +11,19 @@ div(v-html="markdown(item.data)") .options i.fas.fa-eraser( - v-if="account.gid === 1 || account.uid === item.uid", + v-if="account.gid === 1 || account.uid === item.uid" @click="remove(item._id)" + title="删除" ) i.fas.fa-marker( - v-if="account.gid === 1 || account.uid === item.uid", + v-if="account.gid === 1 || account.uid === item.uid" @click="remove(item._id)" + title="编辑" ) i.fas.fa-heart( :class="{ like: item.like }", @click="like(item._id, item.like)" + title="点赞" ) .post-none(v-else) 没有评论~ diff --git a/pages/account/index.vue b/pages/account/index.vue index f10322f..c5fd6a0 100644 --- a/pages/account/index.vue +++ b/pages/account/index.vue @@ -6,7 +6,6 @@ span.fa.fa-edit.avatar-edit .name {{ account.name }} input#img_add(type="file", accept="image/*", @change="upload($event)") - // multiple="multiple", input#bg(type="file", accept="image/*", @change="upload_bg($event)") .content.main-width p account