刘洋 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)
         }