<template>
    <div class="ht-base-tag-demo">
        <ht-base-tag type="border">标签一</ht-base-tag>
        <ht-base-tag type="border">标签二</ht-base-tag>
        <ht-base-tag type="border" v-if="show" closable @on-close="handleClose">标签三</ht-base-tag>
    </div>
</template>

<script>
    export default {
        name: 'HtBaseTagDemo',
        data() {
            return {
                show: true
            }
        },
        methods: {
            handleClose() {
                this.show = false;
            }
        }
    }
</script>
<style>
    .ht-base-tag-demo {

    }
</style>

