|
@@ -5,7 +5,10 @@ enum Api {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export const getAllModelFileJsonApi = () => {
|
|
export const getAllModelFileJsonApi = () => {
|
|
|
- return defHttp.get<Record<string, { fileName: string; filePath: string }[]>>({
|
|
|
|
|
- url: Api.getAllModelFileJson,
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ return defHttp.get<Record<string, { fileName: string; filePath: string }[]>>(
|
|
|
|
|
+ {
|
|
|
|
|
+ url: Api.getAllModelFileJson,
|
|
|
|
|
+ },
|
|
|
|
|
+ { errorMessageMode: 'none' },
|
|
|
|
|
+ );
|
|
|
};
|
|
};
|