baizonghao
2023-05-19 ef85af030be4daed22ad6845e3a248150309438a
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
    })
}