improve conf doc

This commit is contained in:
lixianjing 2024-09-24 18:08:56 +08:00
parent 9a7c1f8bb5
commit eef897bdb6
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
# 最新动态
2024/09/24
* 拓展类型开启后修复无法设置空的object的问题(感谢兆坤提供补丁)
2024/09/23
* 修复scroll_view套scroll_view的时候鼠标悬停在里面的scroll_view无法让里面的滚动问题(感谢智明提供补丁)

View File

@ -843,6 +843,8 @@ static ret_t conf_doc_set_extend_type(conf_doc_t* doc, conf_node_t* node, const
} else {
node->node_type = CONF_NODE_OBJECT;
}
node->value_type = CONF_NODE_VALUE_NODE;
conf_doc_set_extend_type_object_prop_ctx_t ctx = {.doc = doc, .path = path};
ret = tk_object_foreach_prop(obj, conf_doc_set_extend_type_object_prop, &ctx);
}