perf: 查询字体 API 报错超时

This commit is contained in:
fit2cloud-chenyw
2025-09-14 21:08:45 +08:00
committed by fit2cloud-chenyw
parent a20da4737a
commit 52edd06b3b
4 changed files with 14 additions and 22 deletions

View File

@@ -8,8 +8,8 @@ export interface Font {
isBuiltin?: boolean
}
export const list = (data = {}) => {
return request.post({ url: '/typeface/listFont', data }).then(res => {
export const list = () => {
return request.get({ url: '/typeface/listFont' }).then(res => {
return res?.data
})
}