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