收藏
回答

组件不能叫 workshop吗?

基础库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 个回答

登录 后发表内容
问题标签