mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-15 17:31:43 +08:00
35 lines
565 B
Vue
35 lines
565 B
Vue
<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>
|