Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vue
- <a class="mui-control-item"
- v-for="(item, index) in dai" v-on:click ="abc(item)" :href="'#item'+(index+1)+ 'mobile;' +'javascript:void(0)'"
- :key="index"
- :class="{'mui-active':!index}">
- <!-- <p style="z-index: 99;"> -->
- {{item.value}}
- <!-- </p> -->
- </a>
- fun
- abc (item, index) {
- // location.href = '#item' + (index + 1) + 'mobile'
- this.oIndex = item
- console.log(oIndex, 'aa')
- }
Add Comment
Please, Sign In to add comment