You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
505 B
Vue

10 months ago
<template>
<div>
<el-table :data="globalFormData.pageVariable[options.dataKey]" style="width: 100%">
<el-table-column :prop="i" :label="options.thTdMap[i]" v-for="i in Object.keys(options.thTdMap)" />
</el-table>
</div>
</template>
<script lang="ts" setup>
defineOptions({
name: 'hw-table-view'
});
const props = defineProps({
options: Object
});
const { options } = toRefs(props);
const globalFormData = inject('globalFormData');
</script>
<style scoped lang="less">
</style>