ui(admin): update button components, fix Editor for eggs
This commit is contained in:
parent
4e56f6dbea
commit
089860b721
35 changed files with 363 additions and 623 deletions
|
@ -85,7 +85,7 @@ export const searchEggs = async (
|
|||
return data.data.map(Transformers.toEgg);
|
||||
};
|
||||
|
||||
export const exportEgg = async (eggId: number): Promise<Record<string, any>> => {
|
||||
export const exportEgg = async (eggId: number): Promise<string> => {
|
||||
const { data } = await http.get(`/api/application/eggs/${eggId}/export`);
|
||||
return data;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue