12345678910111213141516171819202122 |
- import { VantComponent } from '../common/component';
- VantComponent({
- relation: {
- name: 'index-bar',
- type: 'ancestor',
- linked(target) {
- this.parent = target;
- },
- unlinked() {
- this.parent = null;
- }
- },
- props: {
- useSlot: Boolean,
- index: null
- },
- data: {
- active: false,
- wrapperStyle: '',
- anchorStyle: ''
- }
- });
|