widget-like.vue 221 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 <template> <WidgetIconBtn type="star" :text="num" :option="option"></WidgetIconBtn> </template> <script> export default { name: 'WidgetLike', props: { num: [String, Number], option: Object } }; </script>