08 2024 档案

摘要:uniapp的代码,在ios的14.6.0系统下,可能存在执行顺序的问题。函数方法最好按照先声明后调用的方式去实现。 不要这样写 getData() function getData(){ ...... } 最好这样写 function getData(){ ...... } getData() 阅读全文
posted @ 2024-08-30 14:48 huihuihero 阅读(17) 评论(0) 推荐(0) 编辑
摘要:优化前 多个接口await串行请求,若一个接口用时1秒,3个接口一共得用时3秒才行 async asyncData() { let res1 = await danielService.getAllDanielByIndex(); let res2 = await journalService.ge 阅读全文
posted @ 2024-08-16 11:33 huihuihero 阅读(56) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示