mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-05-01 14:49:00 +08:00
Compare commits
3 Commits
1a1bf4489b
...
95f72c7f3a
Author | SHA1 | Date | |
---|---|---|---|
|
95f72c7f3a | ||
|
db800f60a9 | ||
|
07754975da |
@ -83,8 +83,6 @@ npx degit zclzone/vue-naive-admin
|
|||||||
- [naive-admin-go](https://github.com/ituserxxx/naive-admin-go): 一个 Go 后端服务,基于 gin、gorm、mysql、jwt和session,已对接 Vue Naive Admin 2.0。
|
- [naive-admin-go](https://github.com/ituserxxx/naive-admin-go): 一个 Go 后端服务,基于 gin、gorm、mysql、jwt和session,已对接 Vue Naive Admin 2.0。
|
||||||
- [isme-java](https://github.com/AllenDengMs/isme-java): 一个轻量且完成度高的Java后端服务,基于Springboot 3 + JDK21,层次结构严谨,注释齐全,避免过度封装,代码可读性度高,依赖最简化,上手成本低,已集成 账号管理、权限管理、API鉴权、消息国际化等功能。
|
- [isme-java](https://github.com/AllenDengMs/isme-java): 一个轻量且完成度高的Java后端服务,基于Springboot 3 + JDK21,层次结构严谨,注释齐全,避免过度封装,代码可读性度高,依赖最简化,上手成本低,已集成 账号管理、权限管理、API鉴权、消息国际化等功能。
|
||||||
|
|
||||||
## 入群交流
|
## 联系作者 or 进交流群
|
||||||
|
|
||||||
添加微信,拉你进群
|
[https://www.isme.top/contact.html](https://www.isme.top/contact.html)
|
||||||
|
|
||||||

|
|
||||||
|
@ -69,6 +69,13 @@ const props = defineProps({
|
|||||||
isPagination: {
|
isPagination: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true,
|
default: true,
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
* @isShowSizePicker 是否显示每页条数选择
|
||||||
|
*/
|
||||||
|
isShowSizePicker: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
},
|
},
|
||||||
scrollX: {
|
scrollX: {
|
||||||
type: Number,
|
type: Number,
|
||||||
@ -116,6 +123,16 @@ const pagination = reactive({
|
|||||||
prefix({ itemCount }) {
|
prefix({ itemCount }) {
|
||||||
return `共 ${itemCount} 条数据`
|
return `共 ${itemCount} 条数据`
|
||||||
},
|
},
|
||||||
|
pageSizes: [10, 20, 50, 100],
|
||||||
|
showSizePicker: props.isShowSizePicker,
|
||||||
|
onChange: (page) => {
|
||||||
|
pagination.page = page
|
||||||
|
},
|
||||||
|
onUpdatePageSize: (pageSize) => {
|
||||||
|
pagination.pageSize = pageSize
|
||||||
|
pagination.page = 1
|
||||||
|
handleQuery()
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
// 是否展开
|
// 是否展开
|
||||||
|
Loading…
x
Reference in New Issue
Block a user