mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
chore: migrate to ESlint v9
This commit is contained in:
parent
8c00292fa1
commit
4f25a0c670
142 changed files with 4387 additions and 2052 deletions
|
@ -1,10 +1,10 @@
|
|||
<script setup lang="ts">
|
||||
import VueApexCharts from 'vue3-apexcharts'
|
||||
|
||||
import { storeToRefs } from 'pinia'
|
||||
import { useSettingsStore } from '@/pinia'
|
||||
import type { Series } from '@/components/Chart/types'
|
||||
|
||||
import { useSettingsStore } from '@/pinia'
|
||||
import { storeToRefs } from 'pinia'
|
||||
import VueApexCharts from 'vue3-apexcharts'
|
||||
|
||||
const props = defineProps<{
|
||||
series: Series[] | number[]
|
||||
centerText?: string
|
||||
|
@ -17,7 +17,7 @@ const settings = useSettingsStore()
|
|||
|
||||
const { theme } = storeToRefs(settings)
|
||||
|
||||
const fontColor = () => {
|
||||
function fontColor() {
|
||||
return theme.value === 'dark' ? '#fcfcfc' : undefined
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue