You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/badge/ScrollNumber.vue

35 lines
565 B

<template>
<sup :class="[prefixCls, className]" :title="titleNumber" :style="styleNumber">
<!-- <span v-if="!count || isNaN(count)">{{count}}</span> -->
<span>{{count}}</span>
</sup>
</template>
<script>
export default {
name: 'ScrollNumber',
props: {
className: Object,
prefixCls: String,
count: [Number, String],
titleNumber: [Number, String],
styleNumber: {
type: Object,
default: () => ({}),
},
},
data () {
return {
}
},
computed: {
},
methods: {
},
components: {
},
}
</script>