flx:无数据添加默认值

This commit is contained in:
X_Rian 2024-08-01 16:25:13 +08:00
parent 6e6cf371a8
commit b831705172
2 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.projectType ? projectTypeList[scope.row.projectType - 1].title : ''}}</span> <span>{{ scope.row.projectType ? projectTypeList[scope.row.projectType - 1].title : '--'}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column

View File

@ -142,7 +142,7 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.projectType ? projectTypeList[scope.row.projectType - 1].title : ''}}</span> <span>{{ scope.row.projectType ? projectTypeList[scope.row.projectType - 1].title : '--'}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column