find的用法

                    <el-table-column label="课程类型" align="center">
                      <template v-slot="scoped">
                        {{ courseTypeList.find(item => item.dictValue === scoped.row.courseType).dictTitle }}
                      </template>
                    </el-table-column>

 

posted @ 2023-06-25 18:32  fnasklf  阅读(6)  评论(0编辑  收藏  举报