mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
12 lines
342 B
Vue
12 lines
342 B
Vue
|
<template>
|
||
|
<table-v2 :columns="columns" :data="data" :width="700" :height="400" fixed />
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts" setup>
|
||
|
import TableV2 from '@element-plus/components/table-v2/src/table-v2'
|
||
|
import { generateColumns, generateData } from './utils'
|
||
|
|
||
|
const columns = generateColumns(10)
|
||
|
const data = generateData(columns, 1000)
|
||
|
</script>
|