mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-21 18:05:24 -04:00
not support resource fast preview
Signed-off-by: lihao <lihao71@huawei.com> Change-Id: I593def93448cdc0768edd5e7a8807228c832b5f9
This commit is contained in:
@@ -466,8 +466,8 @@ std::string AceAbility::GetDefaultJSONTree()
|
||||
bool AceAbility::OperateComponent(const std::string& attrsJson)
|
||||
{
|
||||
// fastPreview not support databind
|
||||
if (attrsJson.find("this.") != std::string::npos) {
|
||||
LOGE("fastPreview is not support databind,the attrsJson contains 'this.'");
|
||||
if (attrsJson.find("this.") != std::string::npos || attrsJson.find("$r") != std::string::npos) {
|
||||
LOGE("fastPreview is not support databind,the attrsJson contains 'this.' or '$r'");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user