刘洋 1 년 전
부모
커밋
b8d64515b6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
         }