From f05801f2ee1f1d394f3b018255f5a84df5356a2e Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期二, 24 十二月 2024 12:09:58 +0800 Subject: [PATCH] 打印优化 --- src/views/class/index.vue | 20 ++++---------------- 1 files changed, 4 insertions(+), 16 deletions(-) diff --git a/src/views/class/index.vue b/src/views/class/index.vue index f795f0f..3aaf4a0 100644 --- a/src/views/class/index.vue +++ b/src/views/class/index.vue @@ -36,10 +36,7 @@ }}</el-link> </template> </el-table-column> - <el-table-column label="鐝骇浜烘暟" width="200"> - <template slot-scope="scope" - >{{ scope.row.playerCount }} 浜�</template - > + <el-table-column label="鐝骇浜烘暟" width="200" prop="playerCount"> </el-table-column> <el-table-column label="璇惧寘/浼氬憳鍗�" width="200"> <template slot-scope="scope">{{ @@ -48,10 +45,7 @@ : '' }}</template> </el-table-column> - <el-table-column label="鏁欏笀" width=""> - <template slot-scope="scope">{{ - concatenateArray(scope.row.team.sessionStaffs) - }}</template> + <el-table-column label="鏁欏笀" width="" prop="sessionStaffs"> </el-table-column> <el-table-column label="鎿嶄綔" width="200"> <template slot-scope="scope"> @@ -69,15 +63,9 @@ height="100%" v-else > - <el-table-column label="鐝骇鍚嶇О"> - <template slot-scope="scope" - >{{ scope.row.name }} - </template> + <el-table-column label="鐝骇鍚嶇О" prop="name"> </el-table-column> - <el-table-column label="鍋滅敤鏃堕棿"> - <template slot-scope="scope" - >{{ scope.row.modifyTime }} - </template> + <el-table-column label="鍋滅敤鏃堕棿" prop="modifyTime"> </el-table-column> <el-table-column label="鎿嶄綔" width="200"> <template slot-scope=""> -- Gitblit v1.8.0