组件不可用?
发布于 6 年前 作者 junfang 11921 次浏览 来自 问答

Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./Components/tabbarArr/tabbarArr.wxss:38:15)

今天更新编辑器后就有这个错误了,没更新之前没问题的啊,应该怎么解决?

2 回复

要么直接忽略要么你就不要直接使用标签名选择器

自定义组件里的wxss不要用这些选择器

回到顶部