修复显示异常
This commit is contained in:
@@ -40,29 +40,20 @@
|
||||
<el-table-column prop="totalOutput" align="center" label="礼物反币总额" />
|
||||
<el-table-column prop="x" align="center" label="礼物反币总额/送礼金币总额"
|
||||
><template v-slot="scope">
|
||||
{{ scope.row.totalOutput / totalInput }}
|
||||
{{ scope.row.totalOutput / scope.row.totalInput }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="num" align="center" label="参与次数" />
|
||||
<el-table-column prop="count" align="center" label="参与人数" />
|
||||
<el-table-column prop="winCount" align="center" label="中奖人数" />
|
||||
<el-table-column prop="winNum" align="center" label="中奖次数" />
|
||||
<el-table-column prop="winRate" align="center" label="中奖率" />
|
||||
<el-table-column prop="winRate" align="center" label="中奖率"
|
||||
><template v-slot="scope">
|
||||
{{ scope.row.winRate ? scope.row.winRate : "-" }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="stock" align="center" label="数组库存" />
|
||||
</el-table>
|
||||
|
||||
<!-- 分页 -->
|
||||
<el-pagination
|
||||
style="margin-top: 10px"
|
||||
class="paginationClass"
|
||||
v-model:current-page="currentPage"
|
||||
v-model:page-size="pageSize"
|
||||
:page-sizes="[10, 20, 30, 40, 50, 100, 200, 300, 400, 500, 999999999]"
|
||||
layout="sizes, prev, pager, next"
|
||||
:total="total"
|
||||
@size-change="handleSizeChange"
|
||||
@current-change="handleCurrentChange"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@@ -129,6 +120,7 @@ export default {
|
||||
this.total = res.data.total;
|
||||
this.tableData = res.data;
|
||||
this.loading = false;
|
||||
console.log(this.tableData, 123);
|
||||
});
|
||||
},
|
||||
// 分页导航
|
||||
|
Reference in New Issue
Block a user