用的官网的代码,报错,网上查了半天也没有找到是什么问题。该如何解决?
我是用的官网的示例代码。 https://lbs.qq.com/miniProgram/jsSdk/jsSdkGuide/methodSearch 可是总是给我报: [渲染层错误] [Component] <map>: marker id should be a number(env: Windows,mp,1.06.2208010; lib: 2.27.2) WAServiceMainContext.js?t=wechat&s=1669278235600&v=2.27.2:1 TypeError: Cannot read property 'markers' of undefined at Object.success (actives.js? [sm]:68) at Object.handleData (qqmap-wx-jssdk.js? [sm]:464) at options.success (qqmap-wx-jssdk.js? [sm]:597) at WASubContext.js?t=wechat&s=1669278235600&v=2.27.2:1 at WASubContext.js?t=wechat&s=1669278235600&v=2.27.2:1 at Object.l.<computed> (WAServiceMainContext.js?t=wechat&s=1669278235600&v=2.27.2:1) at WAServiceMainContext.js?t=wechat&s=1669278235600&v=2.27.2:1 at Module.In (WASubContext.js?t=wechat&s=1669278235600&v=2.27.2:1) at WAServiceMainContext.js?t=wechat&s=1669278235600&v=2.27.2:1 at c3 (WAServiceMainContext.js?t=wechat&s=1669278235600&v=2.27.2:1)(env: Windows,mp,1.06.2208010; lib: 2.27.2) 大佬们,如何解决啊?