基于 Vue 3 + TypeScript 的现代化组件库
为企业级应用提供优雅、高效的解决方案
npm install @xlui/xux-ui<XTable
:columns="columns"
:dataSource="data"
rowKey="id"
stripe
hover
height="450px"
/>
// 列配置示例
const columns = [
{ key: 'name', title: '技术栈', dataIndex: 'name', width: '180px' },
{ key: 'version', title: '版本号', dataIndex: 'version', width: '120px' },
{ key: 'status', title: '状态', dataIndex: 'status', width: '100px' },
{ key: 'description', title: '描述', dataIndex: 'description' }
]