Fix: Fixed the issue where the detail request failed in the search function.
This commit is contained in:
parent
ec02428dbd
commit
c9484528a4
1 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import api from '@/utils/api';
|
||||
import { registerNextServer } from '@/utils/register-server';
|
||||
import registerServer from '@/utils/register-server';
|
||||
import request from '@/utils/request';
|
||||
|
||||
const {
|
||||
createSearch,
|
||||
|
|
@ -48,6 +49,6 @@ const methods = {
|
|||
method: 'get',
|
||||
},
|
||||
} as const;
|
||||
const searchService = registerNextServer<keyof typeof methods>(methods);
|
||||
const searchService = registerServer<keyof typeof methods>(methods, request);
|
||||
|
||||
export default searchService;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue