开发者工具环境下【场景值】的类型和线上不一致
测试代码:
App({
console.log('type of scene: ', typeof scene) console.log('value of scene: ', scene)
|
测试结果:
开发者工具

真实机器(iOS)

真实机器(Android)

测试代码:
App({
console.log('type of scene: ', typeof scene) console.log('value of scene: ', scene)
|
测试结果:
开发者工具
真实机器(iOS)
真实机器(Android)