fix(store): fix pinia typo

This commit is contained in:
vben
2021-05-23 23:45:21 +08:00
parent 8e3f84c3b7
commit bbf178f64b
9 changed files with 40 additions and 38 deletions

View File

@@ -38,13 +38,13 @@ export const useMultipleTabStore = defineStore({
lastDragEndIndex: 0,
}),
getters: {
getTabList() {
getTabList(_) {
return this.tabList;
},
getCachedTabList(): string[] {
getCachedTabList(_): string[] {
return Array.from(this.cacheTabList);
},
getLastDragEndIndex(): number {
getLastDragEndIndex(_): number {
return this.lastDragEndIndex;
},
},