Upgrade .then .catch to async await and try catch

前端 未结 0 1091
礼貌的吻别
礼貌的吻别 2020-12-30 13:23

I\'m tryng to upgrade this code for a better maintenance, this code uploads two images to a server, i know it\'s possible to get rid of those .catch, by applying async await

相关标签:
回答
  • 消灭零回复
提交回复
热议问题