<img src="https://solution-community.wps.cn/uploads/post/4TKvxBVSZvJ.png" alt="image.png"/> 要如何写?
<img src="https://solution-community.wps.cn/uploads/post/4TKvxBVSZvJ.png" alt="image.png"/> 要如何写?
您好,建议可以先了解下相关的语法,再开始开发。 https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Statements/async_function
比如,使用async声明函数
async created(){
// todo
await instance.ready()
}