Fix: Changed 'HightLightMarkdown' to 'HighLightMarkdown' (#11803)

### What problem does this PR solve?

Fix: Changed 'HightLightMarkdown' to 'HighLightMarkdown', and replaced
the private component with a public component.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-12-08 11:11:48 +08:00
committed by GitHub
parent 7dd9ce0b5f
commit 5a2011e687
13 changed files with 25 additions and 76 deletions

View File

@ -1,5 +1,6 @@
import api from '@/utils/api';
import { registerNextServer } from '@/utils/register-server';
import registerServer, { registerNextServer } from '@/utils/register-server';
import request from '@/utils/request';
const {
createSearch,
@ -48,6 +49,8 @@ const methods = {
method: 'get',
},
} as const;
const searchService = registerNextServer<keyof typeof methods>(methods);
const searchService = registerServer<keyof typeof methods>(methods, request);
export const searchServiceNext =
registerNextServer<keyof typeof methods>(methods);
export default searchService;