fix: 修复了arco组件无类型提示问题,需要arco升级到最新版本
This commit is contained in:
parent
a67b47cead
commit
371b86a3dc
852
package-lock.json
generated
852
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -61,7 +61,7 @@
|
|||||||
"xgplayer": "^3.0.18"
|
"xgplayer": "^3.0.18"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@arco-design/web-vue": "^2.55.0",
|
"@arco-design/web-vue": "^2.56.3",
|
||||||
"@arco-plugins/vite-vue": "^1.4.5",
|
"@arco-plugins/vite-vue": "^1.4.5",
|
||||||
"@commitlint/cli": "^19.2.1",
|
"@commitlint/cli": "^19.2.1",
|
||||||
"@commitlint/config-conventional": "^19.1.0",
|
"@commitlint/config-conventional": "^19.1.0",
|
||||||
|
|||||||
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
@ -91,8 +91,8 @@ importers:
|
|||||||
version: 3.0.18(core-js@3.37.1)
|
version: 3.0.18(core-js@3.37.1)
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@arco-design/web-vue':
|
'@arco-design/web-vue':
|
||||||
specifier: ^2.55.0
|
specifier: ^2.56.3
|
||||||
version: 2.55.0(vue@3.4.21(typescript@5.4.3))
|
version: 2.56.3(vue@3.4.21(typescript@5.4.3))
|
||||||
'@arco-plugins/vite-vue':
|
'@arco-plugins/vite-vue':
|
||||||
specifier: ^1.4.5
|
specifier: ^1.4.5
|
||||||
version: 1.4.5
|
version: 1.4.5
|
||||||
@ -223,8 +223,8 @@ packages:
|
|||||||
'@arco-design/color@0.4.0':
|
'@arco-design/color@0.4.0':
|
||||||
resolution: {integrity: sha512-s7p9MSwJgHeL8DwcATaXvWT3m2SigKpxx4JA1BGPHL4gfvaQsmQfrLBDpjOJFJuJ2jG2dMt3R3P8Pm9E65q18g==}
|
resolution: {integrity: sha512-s7p9MSwJgHeL8DwcATaXvWT3m2SigKpxx4JA1BGPHL4gfvaQsmQfrLBDpjOJFJuJ2jG2dMt3R3P8Pm9E65q18g==}
|
||||||
|
|
||||||
'@arco-design/web-vue@2.55.0':
|
'@arco-design/web-vue@2.56.3':
|
||||||
resolution: {integrity: sha512-aMfg9dHiDsiJsxU2Mpa0V4WKjtdAdETBBrrVEHj1E7rJYF+PmrfZcSgIvAJSbdJZC/euqSCHyYOQezi3esSzxA==}
|
resolution: {integrity: sha512-D2CPIXRBUPcg37TFsfWROZddCWFZnIwqGpsOhOn2BhmH89UFqtBGpTxyuMdYJEwKNXunp3dVL6V69ZMmJBRPOg==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: ^3.1.0
|
vue: ^3.1.0
|
||||||
|
|
||||||
@ -4278,7 +4278,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
color: 3.2.1
|
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:
|
dependencies:
|
||||||
'@arco-design/color': 0.4.0
|
'@arco-design/color': 0.4.0
|
||||||
b-tween: 0.3.3
|
b-tween: 0.3.3
|
||||||
|
|||||||
48
src/components.d.ts
vendored
48
src/components.d.ts
vendored
@ -1,24 +1,24 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
/* prettier-ignore */
|
/* prettier-ignore */
|
||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
// Generated by unplugin-vue-components
|
// Generated by unplugin-vue-components
|
||||||
// Read more: https://github.com/vuejs/core/pull/3399
|
// Read more: https://github.com/vuejs/core/pull/3399
|
||||||
export {}
|
export {}
|
||||||
|
|
||||||
declare module "vue" {
|
declare module "vue" {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
CodeView: (typeof import("./components/code-view/index.vue"))["default"];
|
CodeView: (typeof import("./components/code-view/index.vue"))["default"];
|
||||||
DrawBarcode: (typeof import("./components/draw-barcode/index.vue"))["default"];
|
DrawBarcode: (typeof import("./components/draw-barcode/index.vue"))["default"];
|
||||||
ExternalLinkPage: (typeof import("./components/external-link-page/index.vue"))["default"];
|
ExternalLinkPage: (typeof import("./components/external-link-page/index.vue"))["default"];
|
||||||
FillPage: (typeof import("./components/fill-page/index.vue"))["default"];
|
FillPage: (typeof import("./components/fill-page/index.vue"))["default"];
|
||||||
InternalLinkPage: (typeof import("./components/internal-link-page/index.vue"))["default"];
|
InternalLinkPage: (typeof import("./components/internal-link-page/index.vue"))["default"];
|
||||||
LangProvider: (typeof import("./components/lang-provider/index.vue"))["default"];
|
LangProvider: (typeof import("./components/lang-provider/index.vue"))["default"];
|
||||||
MainTransition: (typeof import("./components/main-transition/index.vue"))["default"];
|
MainTransition: (typeof import("./components/main-transition/index.vue"))["default"];
|
||||||
RouterLink: (typeof import("vue-router"))["RouterLink"];
|
RouterLink: (typeof import("vue-router"))["RouterLink"];
|
||||||
RouterView: (typeof import("vue-router"))["RouterView"];
|
RouterView: (typeof import("vue-router"))["RouterView"];
|
||||||
SelectIcon: (typeof import("./components/select-icon/index.vue"))["default"];
|
SelectIcon: (typeof import("./components/select-icon/index.vue"))["default"];
|
||||||
SvgAndIcon: (typeof import("./components/svg-and-icon/index.vue"))["default"];
|
SvgAndIcon: (typeof import("./components/svg-and-icon/index.vue"))["default"];
|
||||||
SvgIcon: (typeof import("./components/svg-icon/index.vue"))["default"];
|
SvgIcon: (typeof import("./components/svg-icon/index.vue"))["default"];
|
||||||
VerifyCode: (typeof import("./components/verify-code/index.vue"))["default"];
|
VerifyCode: (typeof import("./components/verify-code/index.vue"))["default"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
const form = reactive({
|
const form = reactive({
|
||||||
time: null,
|
time: "",
|
||||||
timeRange: [],
|
timeRange: [],
|
||||||
date: []
|
date: []
|
||||||
});
|
});
|
||||||
|
|||||||
2
src/vite-env.d.ts
vendored
2
src/vite-env.d.ts
vendored
@ -4,7 +4,6 @@ declare module "*.vue" {
|
|||||||
const component: ReturnType<typeof defineComponent>;
|
const component: ReturnType<typeof defineComponent>;
|
||||||
export default component;
|
export default component;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module "vue-i18n";
|
declare module "vue-i18n";
|
||||||
declare module "@arco-design/color";
|
declare module "@arco-design/color";
|
||||||
declare module "sortablejs";
|
declare module "sortablejs";
|
||||||
@ -18,5 +17,4 @@ declare module "@wangeditor/editor-for-vue";
|
|||||||
declare module "@/directives/modules/custom";
|
declare module "@/directives/modules/custom";
|
||||||
declare module "mockjs";
|
declare module "mockjs";
|
||||||
declare module "@/store/modules/route-config";
|
declare module "@/store/modules/route-config";
|
||||||
declare module "@arco-design/*";
|
|
||||||
declare module "fingerprintjs2";
|
declare module "fingerprintjs2";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user