接口报错修改
This commit is contained in:
parent
5f6b52228b
commit
614522465b
|
@ -1,6 +1,6 @@
|
|||
import { api } from 'src/boot/axios';
|
||||
|
||||
const DraftUriBase = '/api/draft/layout';
|
||||
const DraftUriBase = '/api/drafting';
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
|
@ -8,11 +8,11 @@ const DraftUriBase = '/api/draft/layout';
|
|||
* @returns
|
||||
*/
|
||||
export function pageQuery(query: {
|
||||
pageNum: number;
|
||||
pages: number;
|
||||
size: number;
|
||||
name: string;
|
||||
}) {
|
||||
return api.get(`${DraftUriBase}/page`, { params: query });
|
||||
return api.get(`${DraftUriBase}/paging`, { params: query });
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -164,7 +164,7 @@ async function onRequest(props: any) {
|
|||
loading.value = true;
|
||||
try {
|
||||
let response = await pageQuery({
|
||||
pageNum: page,
|
||||
pages: page,
|
||||
size: rowsPerPage,
|
||||
name: filter.name,
|
||||
});
|
||||
|
|
|
@ -2,5 +2,7 @@
|
|||
"extends": "@quasar/app-vite/tsconfig-preset",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "."
|
||||
}
|
||||
}
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["/graphic-pixi/*/**.ts"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue