安瑾然
2022-07-20 e983cbc7a775bfe69ae8124039cd266a8acc1704
1
2
3
4
5
6
7
8
import {getImgUrl} from "@/api/common";
 
export function fileNameToPath(val) {
    if (val === '' || val === null) return './logo.png';
    getImgUrl(val).then(res => {
        return res
    })
}