刘洋 1 year ago
parent
commit
b8d64515b6
1 changed files with 1 additions and 1 deletions
  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)
         }