fix(fittingRoom): 注释掉轮询获取测试结果逻辑
- 注释掉定时器中检测生成状态的代码 - 避免在模型未生成完成时重复请求数据 - 保留轮询机制但暂停执行具体逻辑
This commit is contained in:
@@ -80,8 +80,8 @@
|
|||||||
fittingRoomStore.getModelList();
|
fittingRoomStore.getModelList();
|
||||||
timer = setInterval(() => {
|
timer = setInterval(() => {
|
||||||
// TODO: 检测到还有没生成图的, 获取最新数据
|
// TODO: 检测到还有没生成图的, 获取最新数据
|
||||||
fittingRoomStore.generatingLoading &&
|
// fittingRoomStore.generatingLoading &&
|
||||||
fittingRoomStore.getTestResults(fittingRoomStore.currentModel?.id);
|
// fittingRoomStore.getTestResults(fittingRoomStore.currentModel?.id);
|
||||||
}, 6000);
|
}, 6000);
|
||||||
});
|
});
|
||||||
onUnload(() => {
|
onUnload(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user