lcfc-ui
v0.0.27
Published
lcfc-ui
Downloads
54
Maintainers
Readme
LCFC UI
安装
npm install lcfc-ui除了安装上述组件之外,项目使用还需要自己安装 element-plus、vxe-table
使用
import QUi from 'lcfc-ui'
import 'lcfc-ui/dist/style.css'
app.use(QUi, {
dict,
download,
commonApi,
lang,
previewUrl
})组件
table
<q-table
:columns="columns"
:querys="querys"
:queryConfig="{ labelWidth: 80, additionalSlot: [additionalSlot] }"
:isPaging="true"
:api="CurrencyApis"
:forms="forms"
buttons="search|add|upload|download|export"
>
<template #open>
<vxe-column width="200" title="xxx">
<template #default>
<el-button type="primary">primary</el-button>
</template>
</vxe-column>
</template>
</q-table>
<scrip setup>
const columns = ref([
{ label: '序号', type: 'seq' },
{ label: '标题1', prop: 'label1' },
{ label: '标题2', prop: 'label2', slot: 'open' },
])
const api = { List : Fn }
</scrip>