mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-15 18:52:27 +08:00
1.0发布,Fixes Bug,以及新增 ProTable组件
This commit is contained in:
18
src/settings/componentSetting.ts
Normal file
18
src/settings/componentSetting.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
export default {
|
||||
table: {
|
||||
apiSetting: {
|
||||
// 当前页的字段名
|
||||
pageField: 'page',
|
||||
// 每页数量字段名
|
||||
sizeField: 'pageSize',
|
||||
// 接口返回的数据字段名
|
||||
listField: 'list',
|
||||
// 接口返回总页数字段名
|
||||
totalField: 'pageCount',
|
||||
},
|
||||
//默认分页数量
|
||||
defaultPageSize: 10,
|
||||
//可切换每页数量集合
|
||||
pageSizes: [10, 20, 30, 40, 50],
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,7 @@ const setting = {
|
||||
isReload: true
|
||||
},
|
||||
//页脚
|
||||
showFooter:true,
|
||||
showFooter: true,
|
||||
//多标签
|
||||
multiTabsSetting: {
|
||||
//背景色
|
||||
|
||||
Reference in New Issue
Block a user