chore: 升级依赖,相关兼容处理

This commit is contained in:
xiaoxian521 2024-07-02 20:57:35 +08:00
parent dea9664677
commit 37e9d8a1ac
4 changed files with 979 additions and 957 deletions

2
.nvmrc
View File

@ -1 +1 @@
v20.13.1 v20.15.0

View File

@ -56,7 +56,7 @@
"@pureadmin/table": "^3.1.2", "@pureadmin/table": "^3.1.2",
"@pureadmin/utils": "^2.4.7", "@pureadmin/utils": "^2.4.7",
"@vue-flow/background": "^1.3.0", "@vue-flow/background": "^1.3.0",
"@vue-flow/core": "^1.36.0", "@vue-flow/core": "^1.38.2",
"@vueuse/core": "^10.11.0", "@vueuse/core": "^10.11.0",
"@vueuse/motion": "^2.2.3", "@vueuse/motion": "^2.2.3",
"@wangeditor/editor": "^5.1.23", "@wangeditor/editor": "^5.1.23",
@ -67,9 +67,9 @@
"china-area-data": "^5.0.1", "china-area-data": "^5.0.1",
"cropperjs": "^1.6.2", "cropperjs": "^1.6.2",
"dayjs": "^1.11.11", "dayjs": "^1.11.11",
"echarts": "^5.5.0", "echarts": "^5.5.1",
"el-table-infinite-scroll": "^3.0.5", "el-table-infinite-scroll": "^3.0.5",
"element-plus": "^2.7.5", "element-plus": "^2.7.6",
"intro.js": "^7.2.0", "intro.js": "^7.2.0",
"js-cookie": "^3.0.5", "js-cookie": "^3.0.5",
"jsbarcode": "^3.11.6", "jsbarcode": "^3.11.6",
@ -80,10 +80,10 @@
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"path": "^0.12.7", "path": "^0.12.7",
"pinia": "^2.1.7", "pinia": "^2.1.7",
"pinyin-pro": "^3.22.0", "pinyin-pro": "^3.23.0",
"plus-pro-components": "^0.1.11", "plus-pro-components": "^0.1.11",
"qrcode": "^1.5.3", "qrcode": "^1.5.3",
"qs": "^6.12.1", "qs": "^6.12.2",
"responsive-storage": "^2.2.0", "responsive-storage": "^2.2.0",
"sortablejs": "^1.15.2", "sortablejs": "^1.15.2",
"swiper": "^11.1.4", "swiper": "^11.1.4",
@ -91,12 +91,12 @@
"v-contextmenu": "^3.2.0", "v-contextmenu": "^3.2.0",
"v3-infinite-loading": "^1.3.1", "v3-infinite-loading": "^1.3.1",
"version-rocket": "^1.7.1", "version-rocket": "^1.7.1",
"vue": "^3.4.27", "vue": "^3.4.31",
"vue-i18n": "^9.13.1", "vue-i18n": "^9.13.1",
"vue-json-pretty": "^2.4.0", "vue-json-pretty": "^2.4.0",
"vue-pdf-embed": "^2.0.4", "vue-pdf-embed": "^2.0.4",
"vue-router": "^4.3.3", "vue-router": "^4.4.0",
"vue-tippy": "^6.4.1", "vue-tippy": "^6.4.4",
"vue-types": "^5.1.2", "vue-types": "^5.1.2",
"vue-virtual-scroller": "2.0.0-beta.8", "vue-virtual-scroller": "2.0.0-beta.8",
"vue-waterfall-plugin-next": "^2.4.3", "vue-waterfall-plugin-next": "^2.4.3",
@ -104,7 +104,7 @@
"vue3-puzzle-vcode": "^1.1.7", "vue3-puzzle-vcode": "^1.1.7",
"vuedraggable": "^4.1.0", "vuedraggable": "^4.1.0",
"vxe-table": "4.6.17", "vxe-table": "4.6.17",
"wavesurfer.js": "^7.7.15", "wavesurfer.js": "^7.8.0",
"xgplayer": "^3.0.18", "xgplayer": "^3.0.18",
"xlsx": "^0.18.5" "xlsx": "^0.18.5"
}, },
@ -112,7 +112,7 @@
"@commitlint/cli": "^19.3.0", "@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2", "@commitlint/config-conventional": "^19.2.2",
"@commitlint/types": "^19.0.3", "@commitlint/types": "^19.0.3",
"@eslint/js": "^9.4.0", "@eslint/js": "^9.6.0",
"@faker-js/faker": "^8.4.1", "@faker-js/faker": "^8.4.1",
"@iconify-icons/ep": "^1.2.12", "@iconify-icons/ep": "^1.2.12",
"@iconify-icons/ri": "^1.2.10", "@iconify-icons/ri": "^1.2.10",
@ -123,35 +123,35 @@
"@types/gradient-string": "^1.1.6", "@types/gradient-string": "^1.1.6",
"@types/intro.js": "^5.1.5", "@types/intro.js": "^5.1.5",
"@types/js-cookie": "^3.0.6", "@types/js-cookie": "^3.0.6",
"@types/node": "^20.14.2", "@types/node": "^20.14.9",
"@types/nprogress": "^0.2.3", "@types/nprogress": "^0.2.3",
"@types/qrcode": "^1.5.5", "@types/qrcode": "^1.5.5",
"@types/qs": "^6.9.15", "@types/qs": "^6.9.15",
"@types/sortablejs": "^1.15.8", "@types/sortablejs": "^1.15.8",
"@typescript-eslint/eslint-plugin": "^7.13.0", "@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.13.0", "@typescript-eslint/parser": "^7.15.0",
"@vitejs/plugin-vue": "^5.0.5", "@vitejs/plugin-vue": "^5.0.5",
"@vitejs/plugin-vue-jsx": "^4.0.0", "@vitejs/plugin-vue-jsx": "^4.0.0",
"autoprefixer": "^10.4.19", "autoprefixer": "^10.4.19",
"boxen": "^7.1.1", "boxen": "^7.1.1",
"cssnano": "^7.0.2", "cssnano": "^7.0.3",
"dagre": "^0.8.5", "dagre": "^0.8.5",
"eslint": "^9.4.0", "eslint": "^9.6.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-define-config": "^2.1.0", "eslint-define-config": "^2.1.0",
"eslint-plugin-prettier": "^5.1.3", "eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.26.0", "eslint-plugin-vue": "^9.27.0",
"gradient-string": "^2.0.2", "gradient-string": "^2.0.2",
"husky": "^9.0.11", "husky": "^9.0.11",
"lint-staged": "^15.2.7", "lint-staged": "^15.2.7",
"postcss": "^8.4.38", "postcss": "^8.4.39",
"postcss-html": "^1.7.0", "postcss-html": "^1.7.0",
"postcss-import": "^16.1.0", "postcss-import": "^16.1.0",
"postcss-scss": "^4.0.9", "postcss-scss": "^4.0.9",
"prettier": "^3.3.2", "prettier": "^3.3.2",
"rimraf": "^5.0.7", "rimraf": "^5.0.7",
"rollup-plugin-visualizer": "^5.12.0", "rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.77.5", "sass": "^1.77.6",
"stylelint": "^16.6.1", "stylelint": "^16.6.1",
"stylelint-config-recess-order": "^5.0.1", "stylelint-config-recess-order": "^5.0.1",
"stylelint-config-recommended-vue": "^1.5.0", "stylelint-config-recommended-vue": "^1.5.0",
@ -159,8 +159,8 @@
"stylelint-prettier": "^5.0.0", "stylelint-prettier": "^5.0.0",
"svgo": "^3.3.2", "svgo": "^3.3.2",
"tailwindcss": "^3.4.4", "tailwindcss": "^3.4.4",
"typescript": "^5.4.5", "typescript": "^5.5.3",
"vite": "^5.3.0", "vite": "^5.3.2",
"vite-plugin-cdn-import": "^1.0.1", "vite-plugin-cdn-import": "^1.0.1",
"vite-plugin-compression": "^0.5.1", "vite-plugin-compression": "^0.5.1",
"vite-plugin-fake-server": "^2.1.1", "vite-plugin-fake-server": "^2.1.1",
@ -169,7 +169,7 @@
"vite-plugin-vue-inspector": "^5.1.2", "vite-plugin-vue-inspector": "^5.1.2",
"vite-svg-loader": "^5.1.0", "vite-svg-loader": "^5.1.0",
"vue-eslint-parser": "^9.4.3", "vue-eslint-parser": "^9.4.3",
"vue-tsc": "^1.8.27" "vue-tsc": "^2.0.24"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0", "node": "^18.18.0 || ^20.9.0 || >=21.1.0",

1890
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -99,7 +99,7 @@ watch(size, val =>
<el-button <el-button
v-for="(button, index) in buttonList" v-for="(button, index) in buttonList"
:key="index" :key="index"
:type="button.type" :type="button.type as any"
:size="dynamicSize" :size="dynamicSize"
:disabled="size === 'disabled'" :disabled="size === 'disabled'"
:plain="baseRadio === 'plain'" :plain="baseRadio === 'plain'"