Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
QML 中Component.onCompleted到底在什么时候起作用啊。 我在一个qml文件中, 在这个文件的Component.onCompleted中动态生成ListModel, 可是这个文件的GridView无法在进入文件后立即显示ListModel的数据啊? 是不是Component.onCompleted的时间不对啊(不是在进入这个文件后的最后的操作啊)
贴代码吧,不要在这里,可以放在gist.github.com之类的地方
print一下log,检查一下逻辑不可以么?