1
0
0xJacky 1 жил өмнө
parent
commit
b955e84668

+ 0 - 0
app/.eslintrc.js → app/.eslintrc.cjs


+ 1 - 1
app/package.json

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

+ 1 - 1
app/src/components/StdDesign/StdDataDisplay/StdTable.vue

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

+ 2 - 2
app/src/components/StdDesign/StdDataEntry/index.tsx

@@ -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
app/src/version.json

@@ -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
app/version.json

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