摘要:
uniapp 上传图片与文件 https://blog.csdn.net/weixin_39604280/article/details/111119319 https://blog.csdn.net/tgs2033/article/details/123431649 //图片选择 export c 阅读全文
摘要:
resolve和reject是两个回调函数,调用resolve会触发then,reject会触发catch <script> new Promise((resolve, reject) =>{ setTimeout(() =>{ //成功的时候调用resolve resolve('成功data') 阅读全文