Explorar o código

fix: 修改注释

MTrun %!s(int64=3) %!d(string=hai) anos
pai
achega
23f09d33a2
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/store/modules/chartHistoryStore/chartHistoryStore.ts

+ 3 - 3
src/store/modules/chartHistoryStore/chartHistoryStore.ts

@@ -14,7 +14,7 @@ import {
 export const useChartHistoryStoreStore = defineStore({
   id: 'useChartHistoryStore',
   state: (): ChartHistoryStoreType => ({
-    // 后退栈(记录栈)
+    // 后退栈
     backStack: [],
     // 前进栈
     forwardStack: []
@@ -55,7 +55,7 @@ export const useChartHistoryStoreStore = defineStore({
         HistoryTargetTypeEnum.CANVAS
       )
     },
-    // * 推入记录
+    // * 推入后退
     pushBackStackItem(
       item: HistoryItemType | Array<HistoryItemType>,
       notClear = false
@@ -73,7 +73,7 @@ export const useChartHistoryStoreStore = defineStore({
         this.forwardStack = [...this.forwardStack, ...item]
       else this.forwardStack.push(item)
     },
-    // * 移出记录
+    // * 移出后退
     popBackStackItem(
       index?: number
     ): HistoryItemType[] | HistoryItemType | undefined {