邓洁: 接口部分对接
This commit is contained in:
@@ -44,24 +44,11 @@ export const useModelSceneStore = defineStore("modelSceneData", () => {
|
||||
});
|
||||
});
|
||||
}
|
||||
function getTunnelEditAllList(tunnelId = 1) {
|
||||
return new Promise((resolve, reject) => {
|
||||
initSceneData(tunnelId)
|
||||
.then((res) => {
|
||||
allEditList.value = res.data;
|
||||
resolve(JSON.parse(allEditList.value));
|
||||
})
|
||||
.catch((Error) => {
|
||||
reject();
|
||||
});
|
||||
});
|
||||
}
|
||||
return {
|
||||
equipmentList,
|
||||
initData,
|
||||
saveSceneData,
|
||||
deleteEquipment,
|
||||
getEquipmentList,
|
||||
getTunnelEditAllList,
|
||||
getEquipmentList
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user