Przeglądaj źródła

巷道拣货-报错后数据初始化

zhaohuanhuan 1 rok temu
rodzic
commit
d8637f6a30
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/outbound/pickingAisle/site/index.vue

+ 1 - 1
src/views/outbound/pickingAisle/site/index.vue

@@ -112,12 +112,12 @@ const loadData = async () => {
       }, 200);
       }, 200);
     }
     }
   } catch (error) {
   } catch (error) {
+    siteTaskList.value=[]
     console.error('获取数据失败', error);
     console.error('获取数据失败', error);
   } finally {
   } finally {
     closeLoading();
     closeLoading();
   }
   }
 };
 };
-
 loadData()
 loadData()
 
 
 //获取拣货任务
 //获取拣货任务