let content = 'xxxxxxx'
let base = {
content: content,
color: '#000000',
fontSize: 12,
padding: 4,
}
marker.iconPath ='xxxxxxxxxx'
marker.width = 149
marker.label = {
...base,
anchorX: 35,
anchorY: 2,
}
我的设想是在点击图标时,动态替换掉label和图标,目前发现在微信开发者工具中是可以的,但是真机上label的偏移无效

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
我这边测试是没问题的,提供一下可供问题复现的完整代码片段