scope.row中屬性值展示


 <el-table-column align="center" label="Id" width="95">
        <template slot-scope="scope">
          {{ scope.$index }}
        </template>
      </el-table-column>
      <el-table-column label="Main Information" align="center">
        <el-table-column label="Title">
          <template slot-scope="scope">
            {{ scope.row.title }}
          </template>
        </el-table-column>
        <el-table-column label="Author" width="110" align="center">
          <template slot-scope="scope">
            <el-tag>{{ scope.row.author }}</el-tag>
          </template>
        </el-table-column>

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 element-ui 中 el-table 根據scope.row行數據變化動態顯示行內控件 在表格中,th scope="row"和th scope="col"中的scope屬性的用法及意義 maven中scope屬性的 與的含義"> HTML表格中與的含義 iOS 同時獲取UITableViewCell中的Section和Row值 SPRING中屬性SCOPE的prototype是什么意思