删除无用组件
This commit is contained in:
@ -1,22 +0,0 @@
|
||||
<template>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Name</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="el-table">
|
||||
<tr v-for="item in list" :key="item.name" class="cursor-move">
|
||||
<td>{{ item.id }}</td>
|
||||
<td>{{ item.name }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
interface Props {
|
||||
list: Record<'name' | 'id', string>[]
|
||||
}
|
||||
defineProps<Props>()
|
||||
</script>
|
||||
Reference in New Issue
Block a user