func:导入功能初步完成(没有检查重复)

This commit is contained in:
2024-05-19 21:02:50 +08:00
parent 00b15c46b8
commit 6d13738078
4 changed files with 11 additions and 10 deletions

View File

@@ -381,7 +381,7 @@ bool MainWidget::edit_property(Element_t* target, int row)
}
Property_t property;
xml_.get_key_value(target, property);
xml_.get_attributes(target, property);
// 检测key值是否变化
std::string value_pre = property[0].value;
@@ -403,7 +403,7 @@ bool MainWidget::edit_property(Element_t* target, int row)
}
}
}
xml_.key_value_to_element(target, property);
xml_.attributes_to_element(target, property);
// 这里要同步到界面
ele_update_gui(target, row);