我使用的是角度6.1.7,当我在调试模式下将dfm<- melt(Data1Chamber[, c("genotype", "NovelMouseChamberCum","CChamberCum", "NovelObjectChamberCum")], id.vars= 1)
与数组一起使用时,仍然会遇到此错误:
ggplot(dfm,aes(x = genotype, y = value)) +
geom_bar(aes(fill = variable),stat = "identity",position = "dodge")
我的html很简单:
*ngFor
国家为AddressEditComponent.html:36 ERROR TypeError: a[getSymbolIterator(...)] is not a function
at areIterablesEqual (core.js:5492)
at devModeEqual (core.js:5421)
at checkBindingNoChanges (core.js:7689)
at checkNoChangesNodeInline (core.js:10552)
at checkNoChangesNode (core.js:10541)
at debugCheckNoChangesNode (core.js:11144)
at debugCheckDirectivesFn (core.js:11072)
at Object.eval [as updateDirectives] (AddressEditComponent.html:37)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:11061)
at checkNoChangesView (core.js:10440)
由于我使用了<select name="country" class="form-control" [(ngModel)]="address.country" >
<option value="">- Pays -</option>
<option *ngFor="let country of countries" value={{country}}>
{{country}}
</option>
</select>
任何解决方案吗?
我做错什么了吗?
答案 0 :(得分:0)
在更新到最新版本的angular时已解决