调用
const getdata = async () => {
let ba = await getSearchData2(unionId.value);
console.log(2,ba , "---后输出---");
}
const getSearchData2 = async (id) => {
const res = await searchClassify(id);//请求
console.log(1,res , "---先输出---");
return res;
};