Merge pull request #146 from LUDA0831/dev

fix: 修复lodash-es类型错误
This commit is contained in:
孟帅 2024-10-01 10:51:59 +08:00 committed by GitHub
commit 86805ba047
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -68,7 +68,7 @@
"@commitlint/config-conventional": "^19.4.1",
"@eslint/eslintrc": "^3.1.0",
"@types/fs-extra": "^11.0.4",
"@types/lodash": "^4.17.7",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.5.2",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",

6
web/pnpm-lock.yaml generated
View File

@ -120,9 +120,9 @@ importers:
'@types/fs-extra':
specifier: ^11.0.4
version: 11.0.4
'@types/lodash':
specifier: ^4.17.7
version: 4.17.7
'@types/lodash-es':
specifier: ^4.17.12
version: 4.17.12
'@types/node':
specifier: ^22.5.2
version: 22.5.2

View File

@ -1,5 +1,5 @@
import { ref, onMounted, onUnmounted } from 'vue';
import { debounce } from 'lodash';
import { debounce } from 'lodash-es';
/**
* description: 获取页面宽度