数据模块优化:实现goodsIDs和dataIDs的处理
在数据模块的组件中,goods_list和data_list属性现在将仅保存从后端获取的相关ID。这些ID将分别存储在新的goods_ids和data_ids属性中,以简化前端处理。该更改旨在提高数据处理效率,并为后续流程如预览和保存提供更简洁的数据结构。v1.0.0
parent
d4bf294b2d
commit
1180942af1
|
|
@ -116,7 +116,6 @@ const init = () => {
|
|||
DiyAPI.getInit({ id: get_id() }).then((res: any) => {
|
||||
if (res.data) {
|
||||
form.value = form_data_transfor_diy_data(res.data);
|
||||
console.log(form.value);
|
||||
} else {
|
||||
is_empty.value = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue