diff --git a/doric-Qt/example/doric/shader/DoricImageNode.cpp b/doric-Qt/example/doric/shader/DoricImageNode.cpp index d4cc1bb8..13118eaf 100644 --- a/doric-Qt/example/doric/shader/DoricImageNode.cpp +++ b/doric-Qt/example/doric/shader/DoricImageNode.cpp @@ -43,6 +43,9 @@ void DoricImageNode::blend(QQuickItem *view, QString name, QJsonValue prop) { } else if (name == "imageBase64") { container->setProperty("fillMode", this->contentMode); container->setProperty("source", prop.toString()); + } else if (name == "imageRes") { + container->setProperty("fillMode", this->contentMode); + container->setProperty("source", prop.toString()); } else if (name == "isBlur") { if (prop.toBool()) { container->setProperty("isBlur", prop.toBool());