2***@qq.com
2***@qq.com
  • 发布:2025-03-17 18:07
  • 更新:2025-03-17 18:07
  • 阅读:37

uni.getNetworkType()执行结果及执行顺序,这是一个同步API还是异步API

分类:uni-app
console.log("1. 调用前");  
uni.getNetworkType({  
  success: () => {  
    console.log("3. success回调");  
  }  
});  
console.log("2. 调用后");

各位大佬,请问一下这一段代码的输出顺序是什么?

2025-03-17 18:07 负责人:无 分享
已邀请:

要回复问题请先登录注册