mint-ui填坑 mt-swipe保存当前索引

mint-ui填坑 mt-swipe

1.获取当前index

template:


            1
            2>
        

methods:

swipeChange() {
                this.activeIndex = this.$refs.swipe.index + 1
            },

data:

activeIndex:1

你可能感兴趣的:(mintUI,mintui,mt-swipe)