ソースを参照

Merge branch 'beta' of https://git.cocorobo.cn/CocoRoboLabs/pbl-student-table into beta

lsc 1 年間 前
コミット
a8f3f006ca
1 ファイル変更5 行追加5 行削除
  1. 5 5
      src/components/studyStudent.vue

+ 5 - 5
src/components/studyStudent.vue

@@ -7075,19 +7075,19 @@
                     stripe
                     style="width: 100%"
                   >
-                    <el-table-column label="评价名称" width="180">
+                    <el-table-column label="评价名称" width="180" align="center">
                       <template slot-scope="scope"
                         ><div>{{ scope.row.value }}</div></template
                       >
                     </el-table-column>
-                    <el-table-column label="评价描述" width="180">
+                    <el-table-column label="评价描述" width="180" align="center">
                       <template slot-scope="scope"
-                        ><div>{{ scope.row.detail }}</div></template
+                        ><div>{{ scope.row.detail != "" ? scope.row.detail : "-" }}</div></template
                       >
                     </el-table-column>
-                    <el-table-column label="目标">
+                    <el-table-column label="目标" align="center">
                       <template slot-scope="scope"
-                        ><div>{{ scope.row.target[0] }}</div></template
+                        ><div>{{ scope.row.target ? scope.row.target[0] : "-" }}</div></template
                       ></el-table-column
                     >
                   </el-table>