自定义组件wxss里面不能用@font-face?

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

VM17251:2 Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./components/cell/cell.wxss:62:1)This wxss file is ignored.一放进去就给我报错那我要用小图标怎么办?只能用图片代替吗?

2 回复
yanluo
yanluo1 楼6 年前

我们会增加这个支持,请关注近期的自定义组件更新。

mingduan
mingduan2 楼4 年前

目前暂不支持