widget-share.vue
366 Bytes
<template>
<WidgetIconBtn type="share" :text="num" :option="selfOption"></WidgetIconBtn>
</template>
<script>
export default {
name: 'WidgetShare',
props: {
num: [String, Number],
option: Object
},
computed: {
selfOption() {
let option = this.option || {};
option.canSelect = false;
return option;
}
}
};
</script>