原来这样写的话现在的编辑器会报错
<template slot-scope="scope" slot="level">
<el-tag>{{ scope.row.level }}</el-tag>
</template>
现在改成这样写
<template v-slot:level="scope">
<el-tag>{{ scope.row.level }}</el-tag>
</template>
原来这样写的话现在的编辑器会报错
<template slot-scope="scope" slot="level">
<el-tag>{{ scope.row.level }}</el-tag>
</template>
现在改成这样写
<template v-slot:level="scope">
<el-tag>{{ scope.row.level }}</el-tag>
</template>