帖子
帖子
用户
博客
课程
123
返回列表 发新帖
2
帖子
0
勋章
6
Y币

  1. apiready = function() {
  2.   console.log(JSON.stringify(api.require))
  3.   // 输出 undefined
  4. }
复制代码

老项目遇到的问题,怎么解决?
2
帖子
0
勋章
6
Y币
Luxfad 发表于 2021-1-19 10:03
老项目遇到的问题,怎么解决?

console.log(api);
// 输出:
{"platform":"app","supportSyncMethod":true,"useWKWebView":false,"isRecoveryMode":false,"pageParam":{"id":1221,"type":0},"fullScreen":false,"winWidth":414,"winHeight":736,"frameWidth":414,"frameHeight":736,"safeArea":{"right":0,"top":20,"left":0,"bottom":0}}

现在 api.require 是弃用了吗?
123
您需要登录后才可以回帖 登录

本版积分规则