de/frontend/src/views/dataset/data/TabDataPreview.vue
fit2cloud-chenyw f04809c638 feat: 新前端
2021-03-03 15:06:52 +08:00

47 lines
640 B
Vue

<template>
<el-col>
<el-table
size="mini"
:data="data"
border
style="width: 100%;"
>
<el-table-column
v-for="field in fields"
:key="field.originName"
min-width="200px"
:prop="field.originName"
:label="field.name"
/>
</el-table>
</el-col>
</template>
<script>
export default {
name: 'TabDataPreview',
props: {
table: Object,
fields: Array,
data: Array
},
data() {
return {
}
},
computed: {},
watch: {},
created() {
},
mounted() {
},
activated() {
},
methods: {}
}
</script>
<style scoped>
</style>