vant/packages/info/index.vue
2018-11-15 15:30:17 +08:00

21 lines
250 B
Vue

<template>
<div
v-if="isDef(info)"
:class="b()"
>
{{ info }}
</div>
</template>
<script>
import create from '../utils/create-basic';
export default create({
name: 'info',
props: {
info: [String, Number]
}
});
</script>