Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular 字体可怕的图标不显示角度6_Angular_Angular6_Font Awesome_Angular Fontawesome - Fatal编程技术网

Angular 字体可怕的图标不显示角度6

Angular 字体可怕的图标不显示角度6,angular,angular6,font-awesome,angular-fontawesome,Angular,Angular6,Font Awesome,Angular Fontawesome,我使用ngx树选择进行多级选择 内部下拉字体图标不显示。检查时。我拥有的font Aweasome版本是“@fortAweasome/fontAweasome free”:“^5.2.0”,我还安装了最新版本“@fortAweasome/fontAweasome free”:“^5.12.0”,但下拉列表中仍然没有显示图标 加号,减号,勾选图标没有显示。有人能帮我解决这个问题吗。根据官方文件 在index.html <link href="//netdna.bootstrap

我使用ngx树选择进行多级选择

内部下拉字体图标不显示。检查时。我拥有的font Aweasome版本是“@fortAweasome/fontAweasome free”:“^5.2.0”,我还安装了最新版本“@fortAweasome/fontAweasome free”:“^5.12.0”,但下拉列表中仍然没有显示图标


加号,减号,勾选图标没有显示。有人能帮我解决这个问题吗。

根据官方文件

index.html

<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">

谢谢你的帮助。我找到了解决办法

我已经进口了 " " 在index.html和styles.css中添加少量css

tree-select-item .item.item a span .fa {
    font-family: FontAwesome;
}
tree-select-item .item.item a .fa {
    font-family: FontAwesome;
}

作为我的应用程序,使用默认的
.fa{font-family:“font awesome 5 free”}
这不允许显示较旧的图标。

您看到index.html了吗
我尝试了用html导入,但仍然没有看到图标fa图标在下拉列表之外工作&控制台中是否有任何错误-特别是加载fa css文件的n/w调用控制台中无错误。但在index.html中导入后,图标也不会显示在下拉框内以及框外。可以查看但无法显示-请尝试此操作。已经在本地下载了css文件,并在angular.json中引用了它