element-ui 注意

element ui 注意点

    <el-table-column label="Author" width="110" align="center">
      <template slot-scope="scope">
        <span>{{ scope.row.author }}</span>
      </template>
    </el-table-column>

等价于:

    <el-table-column label="Author" width="110" align="center" prop="author``">
    </el-table-column>
posted @ 2021-11-06 18:50  焦耳|程  阅读(38)  评论(0编辑  收藏  举报