add text demo

This commit is contained in:
王劲鹏
2021-05-25 11:08:19 +08:00
committed by osborn
parent da73ee5347
commit 2baa84a9ee
3 changed files with 7 additions and 1 deletions

View File

@@ -53,6 +53,9 @@ void DoricDemoBridge::navigate(QVariant route) {
case 12:
name = "StorageDemo.js";
break;
case 13:
name = "TextDemo.js";
break;
}
QString script = DoricUtils::readAssetFile("/doric/bundles", name);