async getaaa() async getbbb() async getccc() =======new way======= async refreshall(){  await Promise.all( xxxxxx.map(async (value, index) =>{ aaa = await getaaa() }))  await Promise.all( xxxxxx.map(async (value, index) =>{ bbb = await getbbb()  })) await Promise.all( xxxxxx.map(async (value, index) =>{ ccc = await getccc()  })) } =======old way======= async refreshall(){  await Promise.all( xxxxxx.map(async (value, index) =>{ aaa = await getaaa() bbb = await getbbb() ccc = await getccc()

繼續閱讀

作者的圖片

Sue boy

Sueboy Can support You

CIO

Taiwan