chore(依赖升级): 依赖升级&修复 TS 错误

This commit is contained in:
baiqi 2023-09-11 18:51:06 +08:00 committed by 刘瑞斌
parent 4ef82f980b
commit 9c0f0f7152
4 changed files with 45 additions and 45 deletions

View File

@ -37,79 +37,79 @@
"dependencies": { "dependencies": {
"@7polo/kity": "2.0.8", "@7polo/kity": "2.0.8",
"@7polo/kityminder-core": "1.4.53", "@7polo/kityminder-core": "1.4.53",
"@arco-design/web-vue": "^2.51.0", "@arco-design/web-vue": "^2.51.1",
"@arco-themes/vue-ms-theme-default": "^0.0.29", "@arco-themes/vue-ms-theme-default": "^0.0.29",
"@form-create/arco-design": "^3.1.22", "@form-create/arco-design": "^3.1.23",
"@types/color": "^3.0.3", "@types/color": "^3.0.4",
"@vueuse/core": "^10.2.1", "@vueuse/core": "^10.4.1",
"ace-builds": "^1.22.0", "ace-builds": "^1.24.2",
"axios": "^0.24.0", "axios": "^0.24.0",
"dayjs": "^1.11.8", "dayjs": "^1.11.9",
"echarts": "^5.4.2", "echarts": "^5.4.3",
"hotbox-minder": "1.0.15", "hotbox-minder": "1.0.15",
"jsencrypt": "^3.3.2", "jsencrypt": "^3.3.2",
"jsonpath-picker-vanilla": "^1.2.4", "jsonpath-picker-vanilla": "^1.2.4",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"mitt": "^3.0.0", "mitt": "^3.0.1",
"monaco-editor": "^0.39.0", "monaco-editor": "^0.39.0",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"pinia": "^2.1.3", "pinia": "^2.1.6",
"pinia-plugin-persistedstate": "^3.1.0", "pinia-plugin-persistedstate": "^3.2.0",
"query-string": "^8.1.0", "query-string": "^8.1.0",
"sortablejs": "^1.15.0", "sortablejs": "^1.15.0",
"vue": "^3.3.4", "vue": "^3.3.4",
"vue-echarts": "^6.5.5", "vue-echarts": "^6.6.1",
"vue-i18n": "^9.2.2", "vue-i18n": "^9.3.0",
"vue-router": "^4.2.2", "vue-router": "^4.2.4",
"vue3-ace-editor": "^2.2.2", "vue3-ace-editor": "^2.2.3",
"vue3-colorpicker": "^2.1.6", "vue3-colorpicker": "^2.2.2",
"vuedraggable": "^4.1.0" "vuedraggable": "^4.1.0"
}, },
"devDependencies": { "devDependencies": {
"@arco-plugins/vite-vue": "^1.4.5", "@arco-plugins/vite-vue": "^1.4.5",
"@commitlint/cli": "^17.6.5", "@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.6.5", "@commitlint/config-conventional": "^17.7.0",
"@types/lodash": "^4.14.195", "@types/lodash": "^4.14.198",
"@types/lodash-es": "^4.17.7", "@types/lodash-es": "^4.17.9",
"@types/nprogress": "^0.2.0", "@types/nprogress": "^0.2.0",
"@types/sortablejs": "^1.15.1", "@types/sortablejs": "^1.15.2",
"@typescript-eslint/eslint-plugin": "^5.59.9", "@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.59.9", "@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-vue": "^3.2.0", "@vitejs/plugin-vue": "^3.2.0",
"@vitejs/plugin-vue-jsx": "^2.1.1", "@vitejs/plugin-vue-jsx": "^2.1.1",
"@vitest/coverage-c8": "^0.31.4", "@vitest/coverage-c8": "^0.31.4",
"@vue/babel-plugin-jsx": "^1.1.1", "@vue/babel-plugin-jsx": "^1.1.5",
"@vue/test-utils": "^2.3.2", "@vue/test-utils": "^2.4.1",
"@zougt/some-loader-utils": "^1.4.3", "@zougt/some-loader-utils": "^1.4.3",
"@zougt/vite-plugin-theme-preprocessor": "^1.4.8", "@zougt/vite-plugin-theme-preprocessor": "^1.4.8",
"autoprefixer": "^10.4.14", "autoprefixer": "^10.4.15",
"axios-mock-adapter": "^1.21.5", "axios-mock-adapter": "^1.22.0",
"color": "^4.2.3", "color": "^4.2.3",
"consola": "^2.15.3", "consola": "^2.15.3",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "^8.42.0", "eslint": "^8.49.0",
"eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-typescript": "^3.5.5", "eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.27.5", "eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.14.1", "eslint-plugin-vue": "^9.17.0",
"fast-glob": "^3.2.12", "fast-glob": "^3.3.1",
"husky": "^8.0.3", "husky": "^8.0.3",
"jsdom": "^22.1.0", "jsdom": "^22.1.0",
"less": "^4.1.3", "less": "^4.2.0",
"less-loader": "^11.1.2", "less-loader": "^11.1.3",
"lint-staged": "^13.2.2", "lint-staged": "^13.3.0",
"postcss": "^8.4.24", "postcss": "^8.4.29",
"postcss-html": "^1.5.0", "postcss-html": "^1.5.0",
"postcss-import": "^15.1.0", "postcss-import": "^15.1.0",
"postcss-less": "^6.0.0", "postcss-less": "^6.0.0",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.3.0", "prettier-plugin-tailwindcss": "^0.3.0",
"rollup": "^2.79.1", "rollup": "^2.79.1",
"rollup-plugin-visualizer": "^5.9.0", "rollup-plugin-visualizer": "^5.9.2",
"sass": "^1.62.1", "sass": "^1.66.1",
"stylelint": "^14.16.1", "stylelint": "^14.16.1",
"stylelint-config-html": "^1.1.0", "stylelint-config-html": "^1.1.0",
"stylelint-config-prettier": "^9.0.5", "stylelint-config-prettier": "^9.0.5",
@ -117,12 +117,12 @@
"stylelint-config-recommended": "^7.0.0", "stylelint-config-recommended": "^7.0.0",
"stylelint-config-recommended-less": "^1.0.4", "stylelint-config-recommended-less": "^1.0.4",
"stylelint-config-recommended-scss": "^7.0.0", "stylelint-config-recommended-scss": "^7.0.0",
"stylelint-config-recommended-vue": "^1.4.0", "stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^25.0.0", "stylelint-config-standard": "^25.0.0",
"stylelint-config-standard-scss": "^4.0.0", "stylelint-config-standard-scss": "^4.0.0",
"stylelint-less": "^1.0.6", "stylelint-less": "^1.0.8",
"stylelint-order": "^5.0.0", "stylelint-order": "^5.0.0",
"tailwindcss": "^3.3.2", "tailwindcss": "^3.3.3",
"typescript": "^4.9.5", "typescript": "^4.9.5",
"unplugin-vue-components": "^0.24.1", "unplugin-vue-components": "^0.24.1",
"vite": "^3.2.7", "vite": "^3.2.7",
@ -134,7 +134,7 @@
"vite-plugin-vue-setup-extend": "^0.4.0", "vite-plugin-vue-setup-extend": "^0.4.0",
"vite-svg-loader": "^3.6.0", "vite-svg-loader": "^3.6.0",
"vitest": "^0.31.4", "vitest": "^0.31.4",
"vue-tsc": "^1.6.5" "vue-tsc": "^1.8.10"
}, },
"engines": { "engines": {
"node": ">=14.0.0" "node": ">=14.0.0"

View File

@ -23,7 +23,7 @@
<template v-if="item.isTag"> <template v-if="item.isTag">
<a-tag <a-tag
v-for="tag of item.value" v-for="tag of item.value"
:key="tag" :key="`${tag}`"
color="var(--color-text-n8)" color="var(--color-text-n8)"
class="mr-[8px] font-normal !text-[var(--color-text-1)]" class="mr-[8px] font-normal !text-[var(--color-text-1)]"
> >

View File

@ -245,7 +245,7 @@
// //
onBeforeUnmount(() => { onBeforeUnmount(() => {
if (asyncTaskStore.uploadFileTask.timer !== null) { if (asyncTaskStore.uploadFileTask.timer !== null) {
clearInterval(asyncTaskStore.uploadFileTask.timer); clearInterval(asyncTaskStore.uploadFileTask.timer as unknown as number);
asyncTaskStore.uploadFileTask.timer = null; asyncTaskStore.uploadFileTask.timer = null;
} }
}); });

View File

@ -119,7 +119,7 @@ const useAsyncTaskStore = defineStore('asyncTask', {
const { uploadFileTask } = this; const { uploadFileTask } = this;
if (uploadFileTask.timer) { if (uploadFileTask.timer) {
uploadFileTask.singleProgress = 0; uploadFileTask.singleProgress = 0;
clearInterval(uploadFileTask.timer); clearInterval(uploadFileTask.timer as unknown as number);
uploadFileTask.timer = null; uploadFileTask.timer = null;
} }
if (uploadFileTask.uploadQueue.length > 0) { if (uploadFileTask.uploadQueue.length > 0) {