fix: build error

This commit is contained in:
0xJacky 2023-12-02 11:27:08 +08:00
parent 3098af113c
commit b955e84668
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
6 changed files with 6 additions and 6 deletions

View file

@ -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",

View file

@ -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

View file

@ -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

View file

@ -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}

View file

@ -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}