diff --git a/doric-Qt/example/app/demo/DoricDemoBridge.cpp b/doric-Qt/example/app/demo/DoricDemoBridge.cpp index 1c5a78df..1a181441 100644 --- a/doric-Qt/example/app/demo/DoricDemoBridge.cpp +++ b/doric-Qt/example/app/demo/DoricDemoBridge.cpp @@ -42,12 +42,15 @@ void DoricDemoBridge::navigate(QVariant route) { name = "PopoverDemo.js"; break; case 9: - name = "SimpleDemo.js"; + name = "ScrollerDemo.js"; break; case 10: - name = "Snake.js"; + name = "SimpleDemo.js"; break; case 11: + name = "Snake.js"; + break; + case 12: name = "StorageDemo.js"; break; } diff --git a/doric-Qt/example/app/main.qml b/doric-Qt/example/app/main.qml index b60d7536..ae4d6524 100644 --- a/doric-Qt/example/app/main.qml +++ b/doric-Qt/example/app/main.qml @@ -15,7 +15,7 @@ ApplicationWindow { ListView { width: parent.width - model: 12 + model: 13 delegate: Rectangle { Column { anchors.centerIn: parent @@ -41,10 +41,12 @@ ApplicationWindow { case 8: return "PopoverDemo.js" case 9: - return "SimpleDemo.js" + return "ScrollerDemo.js" case 10: - return "Snake.js" + return "SimpleDemo.js" case 11: + return "Snake.js" + case 12: return "StorageDemo.js" } } diff --git a/doric-Qt/example/app/qml.qrc b/doric-Qt/example/app/qml.qrc index eacd454f..db4445f3 100644 --- a/doric-Qt/example/app/qml.qrc +++ b/doric-Qt/example/app/qml.qrc @@ -15,6 +15,7 @@ ../../../doric-demo/bundle/src/NetworkDemo.js ../../../doric-demo/bundle/src/PopoverDemo.js ../../../doric-demo/bundle/src/SimpleDemo.js + ../../../doric-demo/bundle/src/ScrollerDemo.js ../../../doric-demo/bundle/src/Snake.js ../../../doric-demo/bundle/src/StorageDemo.js