653220
问题似乎很简单,但是就是卡在图中那个位置不能关联上。
问题似乎很简单,但是就是卡在图中那个位置不能关联上。
我的定义方式
用include属性可以顺带查出关联数据,然后getDataValue就可以取出关联数据
@hpgt 简化了,把model的定义都放在其他文件里面。user.getDataValue("userProflie).这样依旧是报undefinde的错。错在getDataValue(),好像是user没有实例化?
首先,不知道你这样的写法是简单化了还是复杂化了,其次我获取关联对象的方法是:user.gerDataValue("UserProfile")