接口报错修改

This commit is contained in:
Yuan 2023-06-06 13:17:10 +08:00
parent 5f6b52228b
commit 614522465b
3 changed files with 8 additions and 6 deletions

View File

@ -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 });
}
/**

View File

@ -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,
});

View File

@ -2,5 +2,7 @@
"extends": "@quasar/app-vite/tsconfig-preset",
"compilerOptions": {
"baseUrl": "."
}
},
"include": ["src/**/*"],
"exclude": ["/graphic-pixi/*/**.ts"]
}