mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
chore: eslint fixed
This commit is contained in:
parent
785d1003d7
commit
c7f32406db
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
import ngx from '@/api/ngx'
|
||||||
import { useNginxPerformance } from '@/composables/useNginxPerformance'
|
import { useNginxPerformance } from '@/composables/useNginxPerformance'
|
||||||
import { useSSE } from '@/composables/useSSE'
|
import { useSSE } from '@/composables/useSSE'
|
||||||
import { NginxStatus } from '@/constants'
|
import { NginxStatus } from '@/constants'
|
||||||
|
@ -10,7 +11,6 @@ import PerformanceStatisticsCard from './components/PerformanceStatisticsCard.vu
|
||||||
import PerformanceTablesCard from './components/PerformanceTablesCard.vue'
|
import PerformanceTablesCard from './components/PerformanceTablesCard.vue'
|
||||||
import ProcessDistributionCard from './components/ProcessDistributionCard.vue'
|
import ProcessDistributionCard from './components/ProcessDistributionCard.vue'
|
||||||
import ResourceUsageCard from './components/ResourceUsageCard.vue'
|
import ResourceUsageCard from './components/ResourceUsageCard.vue'
|
||||||
import ngx from '@/api/ngx'
|
|
||||||
|
|
||||||
// Global state
|
// Global state
|
||||||
const global = useGlobalStore()
|
const global = useGlobalStore()
|
||||||
|
|
|
@ -196,9 +196,9 @@ const maxRPS = computed(() => {
|
||||||
{{ $gettext('Maximum worker process number:') }}
|
{{ $gettext('Maximum worker process number:') }}
|
||||||
<strong>{{ nginxInfo.worker_processes }}</strong>
|
<strong>{{ nginxInfo.worker_processes }}</strong>
|
||||||
<span class="text-gray-500 text-xs ml-2">
|
<span class="text-gray-500 text-xs ml-2">
|
||||||
{{
|
{{
|
||||||
nginxInfo.process_mode === 'auto'
|
nginxInfo.process_mode === 'auto'
|
||||||
? $gettext('auto = CPU cores')
|
? $gettext('auto = CPU cores')
|
||||||
: $gettext('manually set')
|
: $gettext('manually set')
|
||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue