mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix: build error
This commit is contained in:
parent
3098af113c
commit
b955e84668
6 changed files with 6 additions and 6 deletions
|
@ -5,7 +5,7 @@
|
|||
"scripts": {
|
||||
"dev": "vite",
|
||||
"typecheck": "vue-tsc --noEmit",
|
||||
"lint": "eslint . -c .eslintrc.js --fix --ext .ts,.vue,.tsx,.d.ts",
|
||||
"lint": "eslint . -c .eslintrc.cjs --fix --ext .ts,.vue,.tsx,.d.ts",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"gettext:extract": "vue-gettext-extract",
|
||||
|
|
|
@ -172,7 +172,7 @@ function buildIndexMap(data: any, level: number = 0, index: number = 0, total: n
|
|||
})
|
||||
}
|
||||
}
|
||||
function orderPaginationChange(_pagination: Pagination, filters: never, sorter: SorterResult) {
|
||||
function orderPaginationChange(_pagination: Pagination, _: never, sorter: SorterResult) {
|
||||
if (sorter) {
|
||||
selectedRowKeysBuffer.value = []
|
||||
params.order_by = sorter.field
|
||||
|
|
|
@ -9,7 +9,7 @@ import type { StdDesignEdit } from '@/components/StdDesign/types'
|
|||
|
||||
const fn = _.get
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
function readonly(edit: StdDesignEdit, dataSource: any, dataIndex: any) {
|
||||
function readonly(_: StdDesignEdit, dataSource: any, dataIndex: any) {
|
||||
return h('p', fn(dataSource, dataIndex))
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,7 @@ function selector(edit: StdDesignEdit, dataSource: any, dataIndex: any) {
|
|||
/>
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
function switcher(edit: StdDesignEdit, dataSource: any, dataIndex: any) {
|
||||
function switcher(_: StdDesignEdit, dataSource: any, dataIndex: any) {
|
||||
return h(Switch, {
|
||||
'checked': dataSource?.[dataIndex],
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":"2.0.0-beta.4","build_id":67,"total_build":271}
|
||||
{"version":"2.0.0-beta.4","build_id":68,"total_build":272}
|
|
@ -1 +1 @@
|
|||
{"version":"2.0.0-beta.4","build_id":67,"total_build":271}
|
||||
{"version":"2.0.0-beta.4","build_id":68,"total_build":272}
|
Loading…
Add table
Add a link
Reference in a new issue