|
@@ -122,7 +122,7 @@ const useMainStore = defineStore<'main', MainStoreState, Record<string, any>, Ma
|
|
setNewMsgs(msgData) {
|
|
setNewMsgs(msgData) {
|
|
this.newMsgs = msgData
|
|
this.newMsgs = msgData
|
|
if (this.markerPausedLimit == 0 && (location.pathname !== '/marking/mark' || this.isRefreshInMarkerPage)) {
|
|
if (this.markerPausedLimit == 0 && (location.pathname !== '/marking/mark' || this.isRefreshInMarkerPage)) {
|
|
- this.setMarkerPausedLimit(msgData.markerPausedLimit || 0)
|
|
|
|
|
|
+ this.setMarkerPausedLimit(msgData?.markerPausedLimit || 0)
|
|
if (this.isRefreshInMarkerPage) {
|
|
if (this.isRefreshInMarkerPage) {
|
|
this.setIsRefreshInMarkerPage(false)
|
|
this.setIsRefreshInMarkerPage(false)
|
|
}
|
|
}
|