Vue报错 Variable ‘scope’ is already declared in the upper scope’
项目场景:
Vue "vue": "2.6.10",
Eslint : "eslint": "6.7.2",
eslint-plugin-vue : "eslint-plugin-vue": "6.2.2",
问题描述:
<el-table
:data="..."
...
>
<el-table-column align="center" type="expand" width="160" label="详细信息">
<template slot-scope="scope">
<el-table
:data="scope.row.x"
...
>
</el-table>
</template>
</el-table-column>
</el-table>
npm run link
会报错: