| 1234567891011121314151617181920212223242526272829 |
- import { use } from '../utils';
- var _use = use('badge-group'),
- sfc = _use[0],
- bem = _use[1];
- export default sfc({
- props: {
- activeKey: {
- type: [Number, String],
- "default": 0
- }
- },
- provide: function provide() {
- return {
- vanBadgeGroup: this
- };
- },
- data: function data() {
- return {
- badges: []
- };
- },
- render: function render(h) {
- return h("div", {
- "class": [bem(), 'van-hairline--top-bottom']
- }, [this.slots()]);
- }
- });
|