element 获取table组件的下标

<template scope="scope">
    <span v-text="scope.$index+1"></span>
</template>

 

posted @ 2020-07-27 18:08  叶子0321~  阅读(1158)  评论(0编辑  收藏  举报