widget-like.vue
350 Bytes
<template>
<WidgetIconBtn type="star" :share="share" :text="num" :article-id="articleId" :comment-id="commentId" :option="option"></WidgetIconBtn>
</template>
<script>
export default {
name: 'WidgetLike',
props: {
num: [String, Number],
articleId: Number,
commentId: Number,
option: Object,
share: Boolean
}
};
</script>