D3.js 前端报错 Uncaught TypeError: a[b].target.className.indexOf is not a function at qu.v.ni(……)

Uncaught TypeError: a[b].target.className.indexOf is not a function at qu.v.ni (eval at xhr.onreadystatechange (demo05.html:419), :405:129)

Some time ago after the discovery in the wrong time to do the force discovery figure, suddenly the front console on the brush out hundreds of error, and later extensive searches Here Insert Picture Description
Chrome's translation feature activated, turn off the translation function, error disappears

Published 79 original articles · won praise 89 · views 20000 +

Guess you like

Origin blog.csdn.net/qq_39141486/article/details/104083531