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