This commit is contained in:
yumoqing 2024-05-16 21:31:38 +08:00
parent 8c3d9cd9df
commit 57752b8433

View File

@ -96,7 +96,7 @@ bricks.str2data = function(s, d){
return s;
}
bricks.apply_data = function(desc, data){
if (data == {}){
if (Object.keys(data).length == 0){
return desc;
}
var tmpl = JSON.stringify(desc);