刘洋 hace 1 año
padre
commit
b8d64515b6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/store/main.ts

+ 1 - 1
src/store/main.ts

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