接口报错修改
This commit is contained in:
parent
5f6b52228b
commit
614522465b
@ -1,6 +1,6 @@
|
|||||||
import { api } from 'src/boot/axios';
|
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
|
* @returns
|
||||||
*/
|
*/
|
||||||
export function pageQuery(query: {
|
export function pageQuery(query: {
|
||||||
pageNum: number;
|
pages: number;
|
||||||
size: number;
|
size: number;
|
||||||
name: string;
|
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;
|
loading.value = true;
|
||||||
try {
|
try {
|
||||||
let response = await pageQuery({
|
let response = await pageQuery({
|
||||||
pageNum: page,
|
pages: page,
|
||||||
size: rowsPerPage,
|
size: rowsPerPage,
|
||||||
name: filter.name,
|
name: filter.name,
|
||||||
});
|
});
|
||||||
|
@ -2,5 +2,7 @@
|
|||||||
"extends": "@quasar/app-vite/tsconfig-preset",
|
"extends": "@quasar/app-vite/tsconfig-preset",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": "."
|
"baseUrl": "."
|
||||||
}
|
},
|
||||||
|
"include": ["src/**/*"],
|
||||||
|
"exclude": ["/graphic-pixi/*/**.ts"]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user