🐛 Fix(custom): fix an issue eslint not worked as expected

This commit is contained in:
Kuingsmile
2025-12-30 13:20:28 +08:00
parent 4fb5a26270
commit b53eccce13
185 changed files with 8014 additions and 7627 deletions

View File

@@ -6,8 +6,8 @@ import type { IStringKeyMap } from '#/types/types'
export const useAppStore = defineStore('app', () => {
const settings = ref<IStringKeyMap>({
app: {
theme: 'light'
}
theme: 'light',
},
})
const loading = ref(false)
const error = ref<string | undefined>()
@@ -77,6 +77,6 @@ export const useAppStore = defineStore('app', () => {
clearError,
setTheme,
toggleTheme,
applyTheme
applyTheme,
}
})

View File

@@ -31,7 +31,7 @@ export function useConfirm() {
return {
setConfirmService,
confirm
confirm,
}
}

View File

@@ -53,7 +53,7 @@ export function useMessage() {
success,
error,
warning,
info
info,
}
}

View File

@@ -25,7 +25,7 @@ export function useVirtualGrid(options: UseVirtualGridOptions) {
itemsPerRow,
totalRows,
rowHeight,
totalHeight
totalHeight,
}
})
@@ -101,7 +101,7 @@ export function useVirtualGrid(options: UseVirtualGridOptions) {
if (scrollTop.value > totalHeight - containerHeight.value) {
scrollTop.value = Math.max(0, totalHeight - containerHeight.value)
}
}
},
)
return {
@@ -111,6 +111,6 @@ export function useVirtualGrid(options: UseVirtualGridOptions) {
updateScrollTop,
scrollToItem,
scrollToTop,
scrollToBottom
scrollToBottom,
}
}