Javascript 如何使用angular显示“tags”对象的内容?
如何使用angular显示标记对象的内容 我尝试使用{{gallery.tags.tag}}来完成它,但它不起作用 从./IPhoto导入{IPhoto}; 导出接口IGallery{ 条状:细绳; 标题:字符串; 创建日期:字符串; thumbUrl:字符串; 描述:字符串; 标签?:任何; 照片:IPhoto[]; } 你需要的是 {{gallery.dateCreated | polishDate |大写}} galleryId:{{gallery.galleryId} des:{{gallery.description} {{tag.tag}Javascript 如何使用angular显示“tags”对象的内容?,javascript,angular,typescript,Javascript,Angular,Typescript,如何使用angular显示标记对象的内容 我尝试使用{{gallery.tags.tag}}来完成它,但它不起作用 从./IPhoto导入{IPhoto}; 导出接口IGallery{ 条状:细绳; 标题:字符串; 创建日期:字符串; thumbUrl:字符串; 描述:字符串; 标签?:任何; 照片:IPhoto[]; } 你需要的是 {{gallery.dateCreated | polishDate |大写}} galleryId:{{gallery.galleryId} des:{{ga
转到angular docs并查找NGFor我已经尝试了一些修改{{gallery.tags.tag}},但它不起作用。你能告诉我一些事情吗?