安瑾然
2022-07-21 561b46d42e9a1b633f0428911045898b8270dfa2
1
2
3
4
5
6
7
8
import {getImgUrl} from "@/api/common";
 
export function fileNameToPath(val) {
    if (val === '' || val === null) return './logo.png';
    getImgUrl(val).then(res => {
        return res
    })
}