fix:修复博客分页错误
This commit is contained in:
@@ -1,11 +1,3 @@
|
||||
/**
|
||||
* 展示数据形式
|
||||
*/
|
||||
export enum ShowDataEnum {
|
||||
DATA = 'DATA',
|
||||
CHART = 'CHART',
|
||||
}
|
||||
|
||||
export enum ImagePathEnum {
|
||||
BLOG= 'blog',
|
||||
BILL = 'bill',
|
||||
@@ -17,6 +9,14 @@ export enum ImagePathEnum {
|
||||
USER = 'user'
|
||||
}
|
||||
|
||||
export interface IPageRecord<T> {
|
||||
current: number;
|
||||
size: number;
|
||||
total: number;
|
||||
pages: number;
|
||||
records: T[];
|
||||
}
|
||||
|
||||
export type IDateType = 'month' | 'year'
|
||||
|
||||
export interface ICategory {
|
||||
|
||||
Reference in New Issue
Block a user