Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/83.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
&;nbsp;在我的html模板中显示的是angular 6,而不是空格_Html_Angular6 - Fatal编程技术网

&;nbsp;在我的html模板中显示的是angular 6,而不是空格

&;nbsp;在我的html模板中显示的是angular 6,而不是空格,html,angular6,Html,Angular6,我得到了json响应并显示在我的html页面中,如下所示 <tr *ngFor="let item of itemData.additionalTechnicalData | keyvalue"> <td class="smallboldblack" align="left" valign="top" nowrap="nowarp">{{item.key}}:</td> <td class="small" valign="top" align="

我得到了json响应并显示在我的html页面中,如下所示

<tr *ngFor="let item of itemData.additionalTechnicalData | keyvalue">
  <td class="smallboldblack" align="left" valign="top" nowrap="nowarp">{{item.key}}:</td>
  <td class="small" valign="top" align="left">{{item.value}}</td>
</tr>

{{item.key}}:
{{item.value}}
当{item.value}是空格(“”)时,它才会显示为我的模板中的值


帮我解决这个问题。

布斯
 
应该写出一个空格,例如,如果我键入
test ;test test“
它将输出这个“test test”

让我们看看json数据。共享它,然后尝试删除keyvalue管道并进行检查。检查此。。我也做过同样的事情,除了管道……管道可能是罪魁祸首。