‘scope’ is defined but never used <template v-slot:header="scope"> </template> 代码中scope校验报错,所以不影响运行,但报错看着不爽,可改成: <template slot="header" slot-scope > </template> 或者: <template v-slot:header > </template>