element 获取table组件的下标

<template scope="scope">
    <span v-text="scope.$index+1"></span>
</template>
原文地址:https://www.cnblogs.com/zhangyezi/p/13386831.html