/*********************************************************************
* Uncaught TypeError: Cannot read property 'ownerDocument' of null
* 说明:
* 尝试将SVG文件内容通过JS Ajax加载,然后动态插入div中,报这个错误,
* 解决办法,直接将svg后缀改成html,就可以了。
*
* 2017-8-25 深圳 龙华樟坑村 曾剑锋
********************************************************************/ 对于这个报错,没怎么理解,反正将文件后缀修改之后(.svg -> .html),就可行了。
相关文章
- 11-25vue cli3/vue cli4开启gzip打包报错:TypeError: Cannot read property 'tapPromise' of undefined
- 11-25TypeError: Cannot read property ‘__ob__’ of undefined
- 11-25element upload 上传报错 Uncaught TypeError: Cannot set property 'status' of undefined
- 11-25DataTable插件报错:Uncaught TypeError: Cannot read property 'style' of undefined
- 11-25Vue使用Typescript开发编译时提示“ERROR in ./src/main.ts Module build failed: TypeError: Cannot read property 'afterCompile' of undefined”的解决方法
- 11-25使用webpack命令打包时,报错TypeError: Cannot read property 'presetToOptions' of undefined的解决办法
- 11-25G2 ERROR TypeError: Cannot read property 'length' of undefined
- 11-25Cannot read property ‘length‘ of null while opening vscode terminal
- 11-25Uncaught TypeError: Cannot read property ‘alternate‘ of undefined
- 11-25Error in render: “TypeError: Cannot read property ‘xxxxx‘ of undefined“