- Creator 版本:3.4.2
- 目标平台:web mobile
使用preview template 自定义 index.ejs
- index.ejs 复制cocos安装资料夹的 preivew/static/views/index.ejs
- 把index.ejs 的
这行删掉<%- include(cocosToolBar, {config: config}) %> - 报错以下内容
稍微看一下报错的程式码,看起来是检查 index的dom 是否存在
然后查找各处的程式码,检查的程式码根本不存在 专案内和cocos资料夹
但是在preview 时候却会出现,想请问有人知道怎么取消这检查逻辑吗