生成清除 cache 的链接处引用了 document.body https://github.com/node-cube/cube/blob/b4b8d8fee1391b47fba773873e0e821a239980e4/runtime/cube_clean_cache.js#L19 ``` document.body.appendChild(a); ``` 如果 cube 在 body 之前引用会报错: ``` TypeError: Cannot read property 'appendChild' of undefined ```
生成清除 cache 的链接处引用了 document.body
cube/runtime/cube_clean_cache.js
Line 19 in b4b8d8f
如果 cube 在 body 之前引用会报错: