mx-tag-button.vue 416 B

12345678910111213141516171819
  1. <template>
  2. <uv-tags v-bind="props" @click="$emit('click')"/>
  3. </template>
  4. <script setup>
  5. import {tagsProps} from "@/uni_modules/uv-tags/components/uv-tags/uv-tags.vue";
  6. import {createPropDefine} from "@/utils";
  7. const props = defineProps({
  8. ...tagsProps,
  9. borderColor: createPropDefine('transparent'),
  10. plain: createPropDefine(true, Boolean)
  11. })
  12. defineEmits(['click'])
  13. </script>
  14. <style scoped>
  15. </style>