提交 | 用户 | age | ||
d98d05 | 1 | import { VantComponent } from '../common/component'; |
S | 2 | VantComponent({ |
3 | props: { | |
4 | dot: Boolean, | |
5 | info: null, | |
6 | size: null, | |
7 | color: String, | |
8 | customStyle: String, | |
9 | classPrefix: { | |
10 | type: String, | |
11 | value: 'van-icon', | |
12 | }, | |
53cc6f | 13 | name: String, |
d98d05 | 14 | }, |
S | 15 | methods: { |
16 | onClick() { | |
17 | this.$emit('click'); | |
18 | }, | |
19 | }, | |
20 | }); |