Appearance
组件初始化时可传入配置项。
initWkView(config)
通过组件参数传递的尺寸信息的 css 单位,默认 px,可配置为 'px' | 'rpx'。
px
'px' | 'rpx'
initWkView({ unit: 'rpx' })