按照示例引入ActionSheet组件报错?
发布于 7 年前 作者 yong37 1740 次浏览 来自 问答

按照示例在页面.json文件中使用

{

“usingComponents”: {

“mp-actionSheet”: “…/…/components/actionsheet/actionsheet”

}

}

但是报了Component is not found in path “components/actionsheet/actionsheet” (using by “pages/index/index”);的错误。

这是什么原因?

1 回复

路径对吗?

回到顶部