Commit 046daf12 authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改默认返回值类型

parent 4062eb45
......@@ -522,7 +522,7 @@ export interface FileData {
export function normalizeFiledata(url: string): FileData
export function normalizeFiledata(url: any): any {
if (!url) {
return url;
return {};
}
const splited = url.split('/');
const fileName = splited && splited.length ? splited[splited.length - 1] : '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment