使用钛合金模型时未捕获类型错误

时间:2013-09-28 00:16:46

标签: titanium titanium-mobile titanium-alloy

我使用的是钛合金模型,我从样本中提取的大部分代码

https://github.com/appcelerator/alloy/tree/master/samples/todo

当我尝试编译我的项目时,我收到了这个错误。

enter image description here

我正在使用Titanium 3.1.2,Alloy 1.2.2

1 个答案:

答案 0 :(得分:0)

已经弄明白了这个问题。我没有在标记中添加collection

添加<Collection src="note"/>作为alloy的第一个孩子解决了这个问题。

相关问题