wl
2022-10-26 f86cb647ca0ae91519216af19c1ec876874ffb81
src/utils/helper.js
@@ -33,6 +33,18 @@
        })
    return arr;
}
// 获取字典表2
export async function getCodeList(code){
    let arr;
    await myrequest({
        method: 'get',
        url: `/sccg/dict/queryByCode?code=${code}`
    })
        .then(res => {
            arr = res.data;
        })
    return arr;
}
export async function myDownLoad(arr){
    let fileName = arr.headers['content-disposition'];
            console.log(fileName);