Browse Source

升级依赖项

tongshangming 2 years ago
parent
commit
dde2d2543c
5 changed files with 276 additions and 287 deletions
  1. 17 17
      package.json
  2. 256 244
      pnpm-lock.yaml
  3. 3 0
      src/auto-import.d.ts
  4. 0 1
      src/components/GlobalHeader.vue
  5. 0 25
      src/router/asyncRouter.ts

+ 17 - 17
package.json

@@ -12,42 +12,42 @@
   "dependencies": {
     "@element-plus/icons-vue": "^2.0.10",
     "@icon-park/vue-next": "^1.4.2",
-    "@vueuse/core": "^9.5.0",
+    "@vueuse/core": "^9.12.0",
     "@wangeditor/editor": "^5.1.23",
     "@wangeditor/editor-for-vue": "^5.1.12",
-    "axios": "^1.2.1",
+    "axios": "^1.2.6",
     "dayjs": "^1.11.7",
-    "element-plus": "^2.2.21",
+    "element-plus": "^2.2.28",
     "nprogress": "^0.2.0",
-    "pinia": "^2.0.23",
+    "pinia": "^2.0.29",
     "vue": "^3.2.45",
     "vue-router": "^4.1.6",
-    "vxe-table": "^4.3.6",
+    "vxe-table": "^4.3.9",
     "xe-utils": "^3.5.7"
   },
   "devDependencies": {
     "@iconify-json/ep": "^1.1.8",
     "@rushstack/eslint-patch": "^1.2.0",
-    "@types/node": "^16.18.3",
+    "@types/node": "^16.18.11",
     "@types/nprogress": "^0.2.0",
     "@types/qs": "^6.9.7",
-    "@vitejs/plugin-vue": "^3.2.0",
-    "@vitejs/plugin-vue-jsx": "^2.1.1",
+    "@vitejs/plugin-vue": "^4.0.0",
+    "@vitejs/plugin-vue-jsx": "^3.0.0",
     "@vue/eslint-config-prettier": "^7.0.0",
     "@vue/eslint-config-typescript": "^11.0.2",
     "@vue/tsconfig": "^0.1.3",
-    "eslint": "^8.27.0",
-    "eslint-plugin-vue": "^9.7.0",
+    "eslint": "^8.33.0",
+    "eslint-plugin-vue": "^9.9.0",
     "npm-run-all": "^4.1.5",
-    "prettier": "^2.7.1",
-    "sass": "^1.56.1",
+    "prettier": "^2.8.3",
+    "sass": "^1.57.1",
     "typescript": "~4.7.4",
-    "unocss": "^0.46.5",
-    "unplugin-auto-import": "^0.11.4",
-    "unplugin-icons": "^0.14.13",
-    "unplugin-vue-components": "^0.22.9",
+    "unocss": "^0.49.1",
+    "unplugin-auto-import": "^0.11.5",
+    "unplugin-icons": "^0.14.15",
+    "unplugin-vue-components": "^0.22.12",
     "unplugin-vue-define-options": "^0.11.2",
-    "vite": "^4.0.3",
+    "vite": "^4.0.4",
     "vite-plugin-style-import": "^2.0.0",
     "vite-plugin-svg-icons": "^2.0.1",
     "vue-tsc": "^0.39.5"

File diff suppressed because it is too large
+ 256 - 244
pnpm-lock.yaml


+ 3 - 0
src/auto-import.d.ts

@@ -119,6 +119,7 @@ declare global {
   const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
   const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
   const useArraySome: typeof import('@vueuse/core')['useArraySome']
+  const useArrayUnique: typeof import('@vueuse/core')['useArrayUnique']
   const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue']
   const useAsyncState: typeof import('@vueuse/core')['useAsyncState']
   const useAttrs: typeof import('vue')['useAttrs']
@@ -202,12 +203,14 @@ declare global {
   const useParallax: typeof import('@vueuse/core')['useParallax']
   const usePermission: typeof import('@vueuse/core')['usePermission']
   const usePointer: typeof import('@vueuse/core')['usePointer']
+  const usePointerLock: typeof import('@vueuse/core')['usePointerLock']
   const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe']
   const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme']
   const usePreferredContrast: typeof import('@vueuse/core')['usePreferredContrast']
   const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark']
   const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages']
   const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion']
+  const usePrevious: typeof import('@vueuse/core')['usePrevious']
   const useRafFn: typeof import('@vueuse/core')['useRafFn']
   const useRefHistory: typeof import('@vueuse/core')['useRefHistory']
   const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']

+ 0 - 1
src/components/GlobalHeader.vue

@@ -40,7 +40,6 @@ const topMenuList = computed(() => {
   }
 })
 
-const route = useRoute()
 const handleMenuSelect = (key: string) => {
   if (isAbsolutePath(key)) {
     window.open(key)

+ 0 - 25
src/router/asyncRouter.ts

@@ -172,31 +172,6 @@ const asyncRouter: RouteRecordRaw[] = [
         meta: {
           title: '高级表单'
         }
-      },
-      {
-        path: '/form/test',
-        name: 'test',
-        meta: {
-          title: 'ceshi'
-        },
-        children: [
-          {
-            path: '/form/basict',
-            name: 'formBasict',
-            component: () => import('@/views/form/Basic.vue'),
-            meta: {
-              title: '基础表单t'
-            }
-          },
-          {
-            path: '/form/advancedt',
-            name: 'formAdvancedt',
-            component: () => import('@/views/form/Advanced.vue'),
-            meta: {
-              title: '高级表单t'
-            }
-          }
-        ]
       }
     ]
   },

Some files were not shown because too many files changed in this diff