mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
16 lines
324 B
JavaScript
16 lines
324 B
JavaScript
import { link } from '../mixins/link';
|
|
import { VantComponent } from '../common/component';
|
|
VantComponent({
|
|
mixins: [link],
|
|
props: {
|
|
text: String,
|
|
info: String,
|
|
icon: String
|
|
},
|
|
methods: {
|
|
onClick: function onClick(event) {
|
|
this.$emit('click', event.detail);
|
|
this.jumpLink();
|
|
}
|
|
}
|
|
}); |