table是使用很广的组件之一,但在开发中发现, <template slot-scope="scope"> 里,出现 “this.数据” 无法获取的问题,原来是 ‘scope’ 这是属性作祟了,是作用域问题,不需要加 this ,直接 数据 即可。
<template slot-scope="scope">