我的排毒设置在 android 上运行良好,但我在 iOS 上遇到了问题。
问题是应用程序在从 Metro 打包器加载包后卡在启动/启动屏幕上。排毒记录不多:
App has not responded to the network requests below:
(id = -1000) isReady: {}
Unresponded network requests might result in timeout errors in Detox tests.
Run Code Online (Sandbox Code Playgroud)
设置如下所示:
.detoxrc.json
...
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/<app_name>.app",
"build": "xcodebuild -workspace ios/<project_name>.xcworkspace -scheme <scheme> -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone 11 Pro"
}
},
...
Run Code Online (Sandbox Code Playgroud)
e2e/Login.e2e.js
App has not responded to the network requests below:
(id = -1000) isReady: {}
Unresponded network …Run Code Online (Sandbox Code Playgroud) 我正在尝试翻译 Material ui 表的表分页。MUI 的人说这是有可能的(问题)。
那么有人知道如何从显示的行标签转换为of${from}-${to} of ${count}