Vue导入百度地图时,浏览器console总是有异常提醒VM5973:1 Uncaught TypeError: Cannot read properties of undefined (reading 'firstChild')
PQ: function() {
for (var a = this.m.Ch, b = 0; b < a.length; b++)
this.rr(this.zl(a[b])) || this.XQ(a[b], b);
for (b = 0; b < a.length; b++)
this.rr(this.zl(a[b])) && this.VQ(a[b], b);
a = this.kb[0];
a.firstChild.style.borderRadius = "3px 0 0 3px";
b = this.kb[this.kb.length - 1];
b.firstChild.style.borderRight = "1px solid #8ba4dc";
b.firstChild.style.borderRadius = a == b ? "3px" : "0 3px 3px 0";
this.P.style.whiteSpace = "nowrap";
this.P.style.cursor = "pointer"
},
rr: