mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-11-02 04:57:16 +08:00
fix: 修复前端控制台 eslint 告警
This commit is contained in:
@@ -44,19 +44,19 @@ export function getTotal() {
|
||||
|
||||
export function listAccessTrend(days: number) {
|
||||
return axios.get<DashboardAccessTrendRecord[]>(
|
||||
`${BASE_URL}/access/trend/${days}`
|
||||
`${BASE_URL}/access/trend/${days}`,
|
||||
);
|
||||
}
|
||||
|
||||
export function listPopularModule() {
|
||||
return axios.get<DashboardPopularModuleRecord[]>(
|
||||
`${BASE_URL}/popular/module`
|
||||
`${BASE_URL}/popular/module`,
|
||||
);
|
||||
}
|
||||
|
||||
export function getGeoDistribution() {
|
||||
return axios.get<DashboardGeoDistributionRecord>(
|
||||
`${BASE_URL}/geo/distribution`
|
||||
`${BASE_URL}/geo/distribution`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ export interface FieldConfigRecord {
|
||||
|
||||
export function listFieldConfig(tableName: string, requireSync: boolean) {
|
||||
return axios.get<FieldConfigRecord[]>(
|
||||
`${BASE_URL}/field/${tableName}?requireSync=${requireSync}`
|
||||
`${BASE_URL}/field/${tableName}?requireSync=${requireSync}`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user