chore: eslint fixed

This commit is contained in:
Akino 2025-04-10 13:59:17 +00:00
parent 785d1003d7
commit c7f32406db
No known key found for this signature in database
GPG key ID: FB2F74D193A40907
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,5 @@
<script setup lang="ts">
import ngx from '@/api/ngx'
import { useNginxPerformance } from '@/composables/useNginxPerformance'
import { useSSE } from '@/composables/useSSE'
import { NginxStatus } from '@/constants'
@ -10,7 +11,6 @@ import PerformanceStatisticsCard from './components/PerformanceStatisticsCard.vu
import PerformanceTablesCard from './components/PerformanceTablesCard.vue'
import ProcessDistributionCard from './components/ProcessDistributionCard.vue'
import ResourceUsageCard from './components/ResourceUsageCard.vue'
import ngx from '@/api/ngx'
// Global state
const global = useGlobalStore()

View file

@ -196,9 +196,9 @@ const maxRPS = computed(() => {
{{ $gettext('Maximum worker process number:') }}
<strong>{{ nginxInfo.worker_processes }}</strong>
<span class="text-gray-500 text-xs ml-2">
{{
nginxInfo.process_mode === 'auto'
? $gettext('auto = CPU cores')
{{
nginxInfo.process_mode === 'auto'
? $gettext('auto = CPU cores')
: $gettext('manually set')
}}
</span>