NutzCN Logo
问答 nutz-plugins-apidoc生成文档调试点不动,报错
发布于 1820天前 作者 xiangtao19940910 1461 次浏览 复制 上一个帖子 下一个帖子
标签:

nutz-plugins-apidoc生成文档调试点不动,控制台报错
Uncaught TypeError: Cannot read property 'name' of undefined
at Ue.eval (eval at Xr (vue.min.js:7), :3:330)
at Ue.n._render (vue.min.js:6)
at Ue. (vue.min.js:6)
at no.get (vue.min.js:7)
at new no (vue.min.js:7)
at Ue.e._mount (vue.min.js:6)
at Ue.$mount (vue.min.js:8)
at Ue.$mount (vue.min.js:8)
at Ue.Re.e._init (vue.min.js:6)
at new Ue (vue.min.js:6)
8(index):412 Uncaught ReferenceError: layer is not defined
at Ue.debugCall ((index):412)
at Ue.n as debugCall
at click (eval at Xr (vue.min.js:7), :3:5016)
at HTMLButtonElement.invoker (vue.min.js:6)
2(index):412 Uncaught ReferenceError: layer is not defined
at Ue.debugCall ((index):412)
at Ue.n as debugCall
at click (eval at Xr (vue.min.js:7), :3:5016)
at HTMLButtonElement.invoker (vue.min.js:6)

5 回复

缺layer.js ?

貌似是缺少layer.js,我检查元素在network网络请求中也没有发现请求中包含layer.js呢

提交了个修改 https://gitee.com/nutz/nutzmore/commit/81e774ed7612336743e1da03d6146dac91d308e0

没安装DHC才会报错, 不过现在DHC都被收购N次了, 不知道还能不能用

好像还是报错,貌似是layer地址没有权限访问,我访问直接//res.layui.com/layui/release/layer/dist/layer.js?v=3111显示
You do not have permission to get URL '/layui/release/layer/dist/layer.js' from this server.
然后我换成https://cdn.bootcss.com/layer/2.3/layer.js这个cdn的,之后弹出了 未安装DHC

哦,那就再改改

添加回复
请先登陆
回到顶部