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,9 +1,9 @@
|
|||
<script setup lang="ts">
|
||||
import type { AcmeUser } from '@/api/acme_user'
|
||||
import type { AutoCertOptions } from '@/api/auto_cert'
|
||||
import type { SelectProps } from 'ant-design-vue'
|
||||
import type { Ref } from 'vue'
|
||||
import type { AcmeUser } from '@/api/acme_user'
|
||||
import acme_user from '@/api/acme_user'
|
||||
import type { AutoCertOptions } from '@/api/auto_cert'
|
||||
|
||||
const users = ref([]) as Ref<AcmeUser[]>
|
||||
|
||||
|
@ -51,7 +51,7 @@ onMounted(async () => {
|
|||
break
|
||||
page++
|
||||
}
|
||||
catch (e) {
|
||||
catch {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ const options = computed<SelectProps['options']>(() => {
|
|||
return list
|
||||
})
|
||||
|
||||
const filterOption = (input: string, option: { label: string }) => {
|
||||
function filterOption(input: string, option: { label: string }) {
|
||||
return option.label.toLowerCase().includes(input.toLowerCase())
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue