odc.xiaohui
2023-05-19 3c1d55fe67cf436de36fd2e7ddc057e26b7a89c9
1
2
3
4
5
6
7
8
import {getImgUrl} from "@/api/common";
 
export function fileNameToPath(val) {
    if (val === '' || val === null) return './logo.jpg';
    getImgUrl(val).then(res => {
        return res
    })
}