fix: 修复了arco组件无类型提示问题,需要arco升级到最新版本

This commit is contained in:
WANGFAN\wangf 2025-01-10 16:08:01 +08:00
parent a67b47cead
commit 371b86a3dc
6 changed files with 883 additions and 33 deletions

852
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -61,7 +61,7 @@
"xgplayer": "^3.0.18"
},
"devDependencies": {
"@arco-design/web-vue": "^2.55.0",
"@arco-design/web-vue": "^2.56.3",
"@arco-plugins/vite-vue": "^1.4.5",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",

10
pnpm-lock.yaml generated
View File

@ -91,8 +91,8 @@ importers:
version: 3.0.18(core-js@3.37.1)
devDependencies:
'@arco-design/web-vue':
specifier: ^2.55.0
version: 2.55.0(vue@3.4.21(typescript@5.4.3))
specifier: ^2.56.3
version: 2.56.3(vue@3.4.21(typescript@5.4.3))
'@arco-plugins/vite-vue':
specifier: ^1.4.5
version: 1.4.5
@ -223,8 +223,8 @@ packages:
'@arco-design/color@0.4.0':
resolution: {integrity: sha512-s7p9MSwJgHeL8DwcATaXvWT3m2SigKpxx4JA1BGPHL4gfvaQsmQfrLBDpjOJFJuJ2jG2dMt3R3P8Pm9E65q18g==}
'@arco-design/web-vue@2.55.0':
resolution: {integrity: sha512-aMfg9dHiDsiJsxU2Mpa0V4WKjtdAdETBBrrVEHj1E7rJYF+PmrfZcSgIvAJSbdJZC/euqSCHyYOQezi3esSzxA==}
'@arco-design/web-vue@2.56.3':
resolution: {integrity: sha512-D2CPIXRBUPcg37TFsfWROZddCWFZnIwqGpsOhOn2BhmH89UFqtBGpTxyuMdYJEwKNXunp3dVL6V69ZMmJBRPOg==}
peerDependencies:
vue: ^3.1.0
@ -4278,7 +4278,7 @@ snapshots:
dependencies:
color: 3.2.1
'@arco-design/web-vue@2.55.0(vue@3.4.21(typescript@5.4.3))':
'@arco-design/web-vue@2.56.3(vue@3.4.21(typescript@5.4.3))':
dependencies:
'@arco-design/color': 0.4.0
b-tween: 0.3.3

View File

@ -24,7 +24,7 @@
<script setup lang="ts">
const form = reactive({
time: null,
time: "",
timeRange: [],
date: []
});

2
src/vite-env.d.ts vendored
View File

@ -4,7 +4,6 @@ declare module "*.vue" {
const component: ReturnType<typeof defineComponent>;
export default component;
}
declare module "vue-i18n";
declare module "@arco-design/color";
declare module "sortablejs";
@ -18,5 +17,4 @@ declare module "@wangeditor/editor-for-vue";
declare module "@/directives/modules/custom";
declare module "mockjs";
declare module "@/store/modules/route-config";
declare module "@arco-design/*";
declare module "fingerprintjs2";