<script setup>
const props = defineProps({
  items: {},
})
</script>

<template>
  <div>
    <el-table :data="items" style="width: 100%" max-height="500px" table-layout="auto" border :show-header="true">
      <el-table-column prop="item_id" label="道具id"/>
      <el-table-column prop="desc" label="道具名"/>
      <el-table-column prop="item_num" label="道具数量"/>
    </el-table>
  </div>
</template>

<style scoped>

</style>