组件不能叫 workshop吗?

发布于 6 年前作者 fang7113680 次浏览最后编辑 6 年前来自 issues

基础库2.12.2 引用组件名称workshop 会出现报错 :

VM2927:1 SystemError (jsEnginScriptError)

Component is not found in path "components/workshop/index" (using by "pages/workshopList/index")

Error: Component is not found in path "components/workshop/index" (using by "pages/workshopList/index")

at e (http://127.0.0.1:59071/appservice/__dev__/WAService.js:2:2101171)

at e (http://127.0.0.1:59071/appservice/__dev__/WAService.js:2:2101372)

at _t (http://127.0.0.1:59071/appservice/__dev__/WAService.js:2:2121263)

at Module.Bt (http://127.0.0.1:59071/appservice/__dev__/WAService.js:2:2128627)

at Function.value (http://127.0.0.1:59071/appservice/__dev__/WAService.js:2:2201307)

at Dt (http://127.0.0.1:59071/appservice/__dev__/WAService.js:2:2217504)

at http://127.0.0.1:59071/appservice/__dev__/WAService.js:2:2222010

at Mt (http://127.0.0.1:59071/appservice/__dev__/WAService.js:2:2222531)

at Function. (http://127.0.0.1:59071/appservice/__dev__/WAService.js:2:2231471)

at i. (http://127.0.0.1:59071/appservice/__dev__/WAService.js:2:2193682)

但是改名叫workshops 又运行正常了

1 回复
li28
li281 楼4 年前

你好,查询下路径有没有写错。