baizonghao
2023-05-22 ee76677a6abe2567b8ba2ac714c3a60007dd83fc
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
    })
}