element UI (一)

=========================简单的看懂目录架构========================

 

===================================================================

element ui 简单的组件介绍

<template> 可以将后端传入的字段进行修改、处理
<el-table-column label="任务状态" min-width="120">
    <template slot-scope="scope">
       <div>
         {{scope.row.status == 1 ? '开启' : '关闭'}}
       </div>
    </template>
</el-table-column>

 

posted @ 2021-01-20 10:49  西南举重的话梅  阅读(40)  评论(0)    收藏  举报