Files
henan-backend/ruoyi-ui/src/views/game/bullet/ornament/index.vue
T
2026-09-21 19:21:35 +08:00

24 lines
971 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<div class="app-container">
<el-alert type="info" :closable="false" style="margin-bottom:10px">
饰品即倍率桶,由 Python 模拟器生成。每个桶的 expect_mul 对应一个预生成的回合数据池。
</el-alert>
<el-table v-loading="loading" :data="list" border>
<el-table-column prop="id" label="ID" min-width="60" />
<el-table-column prop="name" label="名称" min-width="150" />
<el-table-column prop="expect_mul" label="期望倍率" min-width="100" />
<el-table-column prop="game_type" label="游戏" min-width="80" />
</el-table>
</div>
</template>
<script>
import { ornamentList } from "@/api/game/bullet/ornament/api";
export default {
name: "BulletOrnament",
data() { return { loading: false, list: [] }; },
created() { this.getList(); },
methods: { getList() { this.loading = true; ornamentList().then(r => { this.list = r.data || []; this.loading = false; }); } }
};
</script>