await
来源:5-29 List 组件 - 解决列表高度展示错误的问题

别人都说我可帅
2023-05-27
老师,这里为什么要用 async、await ?直接写 this.getCurrentSwiperHeight() 不可以吗?
写回答
1回答
-
Sunday
2023-05-27
你好
如果 getCurrentSwiperHeight 之后没有任何操作,是可以不加 await 的
00
相似问题
await
来源:5-29 List 组件 - 解决列表高度展示错误的问题
别人都说我可帅
2023-05-27
老师,这里为什么要用 async、await ?直接写 this.getCurrentSwiperHeight() 不可以吗?
1回答
Sunday
2023-05-27
你好
如果 getCurrentSwiperHeight 之后没有任何操作,是可以不加 await 的
相似问题