|
@@ -122,6 +122,10 @@ export default defineStore<'marker', MarkerStateType, {}, MainActionsType>(
|
|
|
locations: `${item.gpsX},${item.gpsY}`,
|
|
|
}));
|
|
|
// console.log(this.singleDevice);
|
|
|
+ } catch (e) {
|
|
|
+ setTimeout(() => {
|
|
|
+ this.getAllsingleDevice();
|
|
|
+ }, 1000);
|
|
|
} finally {
|
|
|
this.toggleLoading();
|
|
|
}
|
|
@@ -155,6 +159,11 @@ export default defineStore<'marker', MarkerStateType, {}, MainActionsType>(
|
|
|
locations: `${item.gpsX},${item.gpsY}`,
|
|
|
}));
|
|
|
// console.log(this.videoSurveillance);
|
|
|
+ } catch (e) {
|
|
|
+ setTimeout(() => {
|
|
|
+ this.getAllvideoDevice();
|
|
|
+ }, 1000);
|
|
|
+
|
|
|
} finally {
|
|
|
this.toggleLoading();
|
|
|
}
|