瀏覽代碼

chore: update typescript

xiaoxian521 3 年之前
父節點
當前提交
8fa3448af2
共有 3 個文件被更改,包括 145 次插入154 次删除
  1. 1 1
      package.json
  2. 141 151
      pnpm-lock.yaml
  3. 3 2
      src/App.vue

+ 1 - 1
package.json

@@ -109,7 +109,7 @@
     "stylelint-config-prettier": "8.0.2",
     "stylelint-config-standard": "22.0.0",
     "stylelint-order": "4.1.0",
-    "typescript": "4.4.2",
+    "typescript": "^4.5.5",
     "unplugin-element-plus": "^0.2.0",
     "vite": "^2.7.13",
     "vite-plugin-live-reload": "^2.1.0",

+ 141 - 151
pnpm-lock.yaml

@@ -69,7 +69,7 @@ specifiers:
   stylelint-config-prettier: 8.0.2
   stylelint-config-standard: 22.0.0
   stylelint-order: 4.1.0
-  typescript: 4.4.2
+  typescript: ^4.5.5
   unplugin-element-plus: ^0.2.0
   v-contextmenu: 3.0.0
   vite: ^2.7.13
@@ -97,12 +97,12 @@ dependencies:
   "@ctrl/tinycolor": 3.4.0
   "@fortawesome/fontawesome-svg-core": 1.2.36
   "@fortawesome/free-solid-svg-icons": 5.15.4
-  "@fortawesome/vue-fontawesome": 3.0.0-5_9e890373d14094b922d693b29dbd6766
+  "@fortawesome/vue-fontawesome": 3.0.0-5_bd9500668cc39dc1b21f01877240ada5
   "@logicflow/core": 0.7.1
   "@logicflow/extension": 0.7.1
-  "@vueuse/core": 7.5.3_vue@3.2.27
-  "@vueuse/motion": 2.0.0-beta.9_vue@3.2.27
-  "@vueuse/shared": 7.5.3_vue@3.2.27
+  "@vueuse/core": 7.5.3_vue@3.2.28
+  "@vueuse/motion": 2.0.0-beta.9_vue@3.2.28
+  "@vueuse/shared": 7.5.3_vue@3.2.28
   animate.css: 4.1.1
   axios: 0.25.0
   cropperjs: 1.5.12
@@ -110,7 +110,7 @@ dependencies:
   dayjs: 1.10.7
   driver.js: 0.9.8
   echarts: 5.2.2
-  element-plus: 1.3.0-beta.1_vue@3.2.27
+  element-plus: 1.3.0-beta.1_vue@3.2.28
   element-resize-detector: 1.2.4
   font-awesome: 4.7.0
   js-cookie: 3.0.1
@@ -119,20 +119,20 @@ dependencies:
   mockjs: 1.1.0
   nprogress: 0.2.0
   path: 0.12.7
-  pinia: 2.0.9_typescript@4.4.2+vue@3.2.27
+  pinia: 2.0.9_typescript@4.5.5+vue@3.2.28
   qs: 6.10.3
   remixicon: 2.5.0
   resize-observer-polyfill: 1.5.1
-  responsive-storage: 1.0.11_vue@3.2.27
+  responsive-storage: 1.0.11_vue@3.2.28
   rgb-hex: 4.0.0
-  v-contextmenu: 3.0.0_vue@3.2.27
-  vue: 3.2.27
-  vue-i18n: 9.2.0-beta.28_vue@3.2.27
-  vue-json-pretty: 2.0.6_vue@3.2.27
-  vue-router: 4.0.12_vue@3.2.27
-  vue-types: 4.1.1_vue@3.2.27
-  vuedraggable: 4.1.0_vue@3.2.27
-  vxe-table: 4.1.19_vue@3.2.27+xe-utils@3.5.2
+  v-contextmenu: 3.0.0_vue@3.2.28
+  vue: 3.2.28
+  vue-i18n: 9.2.0-beta.28_vue@3.2.28
+  vue-json-pretty: 2.0.6_vue@3.2.28
+  vue-router: 4.0.12_vue@3.2.28
+  vue-types: 4.1.1_vue@3.2.28
+  vuedraggable: 4.1.0_vue@3.2.28
+  vxe-table: 4.1.19_vue@3.2.28+xe-utils@3.5.2
   wangeditor: 4.7.11
   xe-utils: 3.5.2
   xgplayer: 2.28.0
@@ -141,17 +141,17 @@ devDependencies:
   "@commitlint/cli": 13.1.0
   "@commitlint/config-conventional": 13.1.0
   "@iconify-icons/ep": 1.1.3
-  "@iconify/vue": 3.1.2_vue@3.2.27
+  "@iconify/vue": 3.1.2_vue@3.2.28
   "@types/element-resize-detector": 1.1.3
   "@types/js-cookie": 3.0.1
   "@types/mockjs": 1.0.3
   "@types/node": 14.14.14
   "@types/nprogress": 0.2.0
   "@types/qs": 6.9.7
-  "@typescript-eslint/eslint-plugin": 4.31.0_f4e6dc0776b3600ef484e3c64a523136
-  "@typescript-eslint/parser": 4.31.0_eslint@7.30.0+typescript@4.4.2
+  "@typescript-eslint/eslint-plugin": 4.31.0_b1eec05d840cbef4d75fec1389231cd4
+  "@typescript-eslint/parser": 4.31.0_eslint@7.30.0+typescript@4.5.5
   "@vitejs/plugin-legacy": 1.6.4_vite@2.7.13
-  "@vitejs/plugin-vue": 2.0.1_vite@2.7.13+vue@3.2.27
+  "@vitejs/plugin-vue": 2.0.1_vite@2.7.13+vue@3.2.28
   "@vitejs/plugin-vue-jsx": 1.3.3
   "@vue/eslint-config-prettier": 6.0.0_82e4252401b0cc5be86f7c2133946f49
   "@vue/eslint-config-typescript": 7.0.0_e03d82996bd4a66fb128f33523d782ea
@@ -174,8 +174,8 @@ devDependencies:
   stylelint-config-prettier: 8.0.2_stylelint@13.13.1
   stylelint-config-standard: 22.0.0_stylelint@13.13.1
   stylelint-order: 4.1.0_stylelint@13.13.1
-  typescript: 4.4.2
-  unplugin-element-plus: 0.2.0_vite@2.7.13+vue@3.2.27
+  typescript: 4.5.5
+  unplugin-element-plus: 0.2.0_vite@2.7.13+vue@3.2.28
   vite: 2.7.13_sass@1.49.0
   vite-plugin-live-reload: 2.1.0
   vite-plugin-mock: 2.9.6_mockjs@1.1.0+vite@2.7.13
@@ -825,7 +825,7 @@ packages:
     engines: { node: ">=10" }
     dev: false
 
-  /@element-plus/icons-vue/0.2.6_vue@3.2.27:
+  /@element-plus/icons-vue/0.2.6_vue@3.2.28:
     resolution:
       {
         integrity: sha512-2gg7VCq4d2firgl7/aVym4Cx/wqKFwKybEQGJiiWJN4urW36+QdAEG1knqSD9qidbjhVp0Jnc9XdSTR1/4Whzw==
@@ -833,7 +833,7 @@ packages:
     peerDependencies:
       vue: ^3.2.0
     dependencies:
-      vue: 3.2.27
+      vue: 3.2.28
     dev: false
 
   /@endemolshinegroup/cosmiconfig-typescript-loader/3.0.2_e1c3b685f8b7686dcc885a02fd14c5f0:
@@ -905,7 +905,7 @@ packages:
       "@fortawesome/fontawesome-common-types": 0.2.36
     dev: false
 
-  /@fortawesome/vue-fontawesome/3.0.0-5_9e890373d14094b922d693b29dbd6766:
+  /@fortawesome/vue-fontawesome/3.0.0-5_bd9500668cc39dc1b21f01877240ada5:
     resolution:
       {
         integrity: sha512-aNmBT4bOecrFsZTog1l6AJDQHPP3ocXV+WQ3Ogy8WZCqstB/ahfhH4CPu5i4N9Hw0MBKXqE+LX+NbUxcj8cVTw==
@@ -915,7 +915,7 @@ packages:
       vue: ">= 3.0.0 < 4"
     dependencies:
       "@fortawesome/fontawesome-svg-core": 1.2.36
-      vue: 3.2.27
+      vue: 3.2.28
     dev: false
 
   /@humanwhocodes/config-array/0.5.0:
@@ -946,7 +946,7 @@ packages:
       }
     dev: true
 
-  /@iconify/vue/3.1.2_vue@3.2.27:
+  /@iconify/vue/3.1.2_vue@3.2.28:
     resolution:
       {
         integrity: sha512-c777kFKOaEpiJCwz5lOgETWZnq4lEermMQ0RBCzTyRaGC/lmvw2SLF7aJQGri1sGFt4Z5GuXpnlX4DNf3aN+qA==
@@ -955,7 +955,7 @@ packages:
       vue: 3.x
     dependencies:
       cross-fetch: 3.1.5
-      vue: 3.2.27
+      vue: 3.2.28
     transitivePeerDependencies:
       - encoding
     dev: true
@@ -1285,7 +1285,7 @@ packages:
       }
     dev: true
 
-  /@typescript-eslint/eslint-plugin/4.31.0_f4e6dc0776b3600ef484e3c64a523136:
+  /@typescript-eslint/eslint-plugin/4.31.0_b1eec05d840cbef4d75fec1389231cd4:
     resolution:
       {
         integrity: sha512-iPKZTZNavAlOhfF4gymiSuUkgLne/nh5Oz2/mdiUmuZVD42m9PapnCnzjxuDsnpnbH3wT5s2D8bw6S39TC6GNw==
@@ -1299,21 +1299,21 @@ packages:
       typescript:
         optional: true
     dependencies:
-      "@typescript-eslint/experimental-utils": 4.31.0_eslint@7.30.0+typescript@4.4.2
-      "@typescript-eslint/parser": 4.31.0_eslint@7.30.0+typescript@4.4.2
+      "@typescript-eslint/experimental-utils": 4.31.0_eslint@7.30.0+typescript@4.5.5
+      "@typescript-eslint/parser": 4.31.0_eslint@7.30.0+typescript@4.5.5
       "@typescript-eslint/scope-manager": 4.31.0
       debug: 4.3.3
       eslint: 7.30.0
       functional-red-black-tree: 1.0.1
       regexpp: 3.2.0
       semver: 7.3.5
-      tsutils: 3.21.0_typescript@4.4.2
-      typescript: 4.4.2
+      tsutils: 3.21.0_typescript@4.5.5
+      typescript: 4.5.5
     transitivePeerDependencies:
       - supports-color
     dev: true
 
-  /@typescript-eslint/experimental-utils/4.31.0_eslint@7.30.0+typescript@4.4.2:
+  /@typescript-eslint/experimental-utils/4.31.0_eslint@7.30.0+typescript@4.5.5:
     resolution:
       {
         integrity: sha512-Hld+EQiKLMppgKKkdUsLeVIeEOrwKc2G983NmznY/r5/ZtZCDvIOXnXtwqJIgYz/ymsy7n7RGvMyrzf1WaSQrw==
@@ -1325,7 +1325,7 @@ packages:
       "@types/json-schema": 7.0.9
       "@typescript-eslint/scope-manager": 4.31.0
       "@typescript-eslint/types": 4.31.0
-      "@typescript-eslint/typescript-estree": 4.31.0_typescript@4.4.2
+      "@typescript-eslint/typescript-estree": 4.31.0_typescript@4.5.5
       eslint: 7.30.0
       eslint-scope: 5.1.1
       eslint-utils: 3.0.0_eslint@7.30.0
@@ -1334,7 +1334,7 @@ packages:
       - typescript
     dev: true
 
-  /@typescript-eslint/parser/4.31.0_eslint@7.30.0+typescript@4.4.2:
+  /@typescript-eslint/parser/4.31.0_eslint@7.30.0+typescript@4.5.5:
     resolution:
       {
         integrity: sha512-oWbzvPh5amMuTmKaf1wp0ySxPt2ZXHnFQBN2Szu1O//7LmOvgaKTCIDNLK2NvzpmVd5A2M/1j/rujBqO37hj3w==
@@ -1349,10 +1349,10 @@ packages:
     dependencies:
       "@typescript-eslint/scope-manager": 4.31.0
       "@typescript-eslint/types": 4.31.0
-      "@typescript-eslint/typescript-estree": 4.31.0_typescript@4.4.2
+      "@typescript-eslint/typescript-estree": 4.31.0_typescript@4.5.5
       debug: 4.3.3
       eslint: 7.30.0
-      typescript: 4.4.2
+      typescript: 4.5.5
     transitivePeerDependencies:
       - supports-color
     dev: true
@@ -1376,7 +1376,7 @@ packages:
     engines: { node: ^8.10.0 || ^10.13.0 || >=11.10.1 }
     dev: true
 
-  /@typescript-eslint/typescript-estree/4.31.0_typescript@4.4.2:
+  /@typescript-eslint/typescript-estree/4.31.0_typescript@4.5.5:
     resolution:
       {
         integrity: sha512-QHl2014t3ptg+xpmOSSPn5hm4mY8D4s97ftzyk9BZ8RxYQ3j73XcwuijnJ9cMa6DO4aLXeo8XS3z1omT9LA/Eg==
@@ -1394,8 +1394,8 @@ packages:
       globby: 11.1.0
       is-glob: 4.0.3
       semver: 7.3.5
-      tsutils: 3.21.0_typescript@4.4.2
-      typescript: 4.4.2
+      tsutils: 3.21.0_typescript@4.5.5
+      typescript: 4.5.5
     transitivePeerDependencies:
       - supports-color
     dev: true
@@ -1445,7 +1445,7 @@ packages:
       - supports-color
     dev: true
 
-  /@vitejs/plugin-vue/2.0.1_vite@2.7.13+vue@3.2.27:
+  /@vitejs/plugin-vue/2.0.1_vite@2.7.13+vue@3.2.28:
     resolution:
       {
         integrity: sha512-wtdMnGVvys9K8tg+DxowU1ytTrdVveXr3LzdhaKakysgGXyrsfaeds2cDywtvujEASjWOwWL/OgWM+qoeM8Plg==
@@ -1456,7 +1456,7 @@ packages:
       vue: ^3.2.25
     dependencies:
       vite: 2.7.13_sass@1.49.0
-      vue: 3.2.27
+      vue: 3.2.28
     dev: true
 
   /@vue/babel-helper-vue-transform-on/1.0.2:
@@ -1486,51 +1486,51 @@ packages:
       - supports-color
     dev: true
 
-  /@vue/compiler-core/3.2.27:
+  /@vue/compiler-core/3.2.28:
     resolution:
       {
-        integrity: sha512-JyxAglSM/pb9paG5ZNuKrf5IUpzLzQA3khjWGF9oESELCLQlt6O3YyPMR2A69wIpYWrf5mScZ8YY8TJKOI/1kQ==
+        integrity: sha512-mQpfEjmHVxmWKaup0HL6tLMv2HqjjJu7XT4/q0IoUXYXC4xKG8lIVn5YChJqxBTLPuQjzas7u7i9L4PAWJZRtA==
       }
     dependencies:
       "@babel/parser": 7.16.10
-      "@vue/shared": 3.2.27
+      "@vue/shared": 3.2.28
       estree-walker: 2.0.2
       source-map: 0.6.1
 
-  /@vue/compiler-dom/3.2.27:
+  /@vue/compiler-dom/3.2.28:
     resolution:
       {
-        integrity: sha512-NyQ7nEbopUBPUMHM4c3FPCbFbnQwptoPjW5Y5qfJ7hfiCNhOuhQsDNqi5JYKBxfpxiFNwjcN9F8t1AsnLrDloQ==
+        integrity: sha512-KA4yXceLteKC7VykvPnViUixemQw3A+oii+deSbZJOQKQKVh1HLosI10qxa8ImPCyun41+wG3uGR+tW7eu1W6Q==
       }
     dependencies:
-      "@vue/compiler-core": 3.2.27
-      "@vue/shared": 3.2.27
+      "@vue/compiler-core": 3.2.28
+      "@vue/shared": 3.2.28
 
-  /@vue/compiler-sfc/3.2.27:
+  /@vue/compiler-sfc/3.2.28:
     resolution:
       {
-        integrity: sha512-WyecUhLN5UAQAr2QlmG2nA56OEnhZJaBnSw0G1tazb9rwDuK0V9tnbIXbQgmQlx+x4sJxgg61yWGcIXfilTl3A==
+        integrity: sha512-zB0WznfEBb4CbGBHzhboHDKVO5nxbkbxxFo9iVlxObP7a9/qvA5kkZEuT7nXP52f3b3qEfmVTjIT23Lo1ndZdQ==
       }
     dependencies:
       "@babel/parser": 7.16.10
-      "@vue/compiler-core": 3.2.27
-      "@vue/compiler-dom": 3.2.27
-      "@vue/compiler-ssr": 3.2.27
-      "@vue/reactivity-transform": 3.2.27
-      "@vue/shared": 3.2.27
+      "@vue/compiler-core": 3.2.28
+      "@vue/compiler-dom": 3.2.28
+      "@vue/compiler-ssr": 3.2.28
+      "@vue/reactivity-transform": 3.2.28
+      "@vue/shared": 3.2.28
       estree-walker: 2.0.2
       magic-string: 0.25.7
-      postcss: 8.2.6
+      postcss: 8.4.5
       source-map: 0.6.1
 
-  /@vue/compiler-ssr/3.2.27:
+  /@vue/compiler-ssr/3.2.28:
     resolution:
       {
-        integrity: sha512-+l09t319iV7HVSrXfBw9OLwMZIPOFTXmHjZ61Bc5ZcwKqOYAR4uTurKpoXAfcSc5qs/q6WdE9jY3nrP0LUEMQQ==
+        integrity: sha512-z8rck1PDTu20iLyip9lAvIhaO40DUJrw3Zv0mS4Apfh3PlfWpF5dhsO5g0dgt213wgYsQIYVIlU9cfrYapqRgg==
       }
     dependencies:
-      "@vue/compiler-dom": 3.2.27
-      "@vue/shared": 3.2.27
+      "@vue/compiler-dom": 3.2.28
+      "@vue/shared": 3.2.28
 
   /@vue/devtools-api/6.0.0-beta.21.1:
     resolution:
@@ -1567,8 +1567,8 @@ packages:
       eslint: ^5.0.0 || ^6.0.0 || ^7.0.0
       eslint-plugin-vue: ^5.2.3 || ^6.0.0 || ^7.0.0
     dependencies:
-      "@typescript-eslint/eslint-plugin": 4.31.0_f4e6dc0776b3600ef484e3c64a523136
-      "@typescript-eslint/parser": 4.31.0_eslint@7.30.0+typescript@4.4.2
+      "@typescript-eslint/eslint-plugin": 4.31.0_b1eec05d840cbef4d75fec1389231cd4
+      "@typescript-eslint/parser": 4.31.0_eslint@7.30.0+typescript@4.5.5
       eslint: 7.30.0
       eslint-plugin-vue: 7.17.0_eslint@7.30.0
       vue-eslint-parser: 7.10.0_eslint@7.30.0
@@ -1576,68 +1576,68 @@ packages:
       - supports-color
     dev: true
 
-  /@vue/reactivity-transform/3.2.27:
+  /@vue/reactivity-transform/3.2.28:
     resolution:
       {
-        integrity: sha512-67//61ObGxGnVrPhjygocb24eYUh+TFMhkm7szm8v5XdKXjkNl7qgIOflwGvUnwuIRJmr9nZ7+PvY0fL+H2upA==
+        integrity: sha512-zE8idNkOPnBDd2tKSIk84hOQZ+jXKvSy5FoIIVlcNEJHnCFnQ3maqeSJ9KoB2Rf6EXUhFTiTDNRlYlXmT2uHbQ==
       }
     dependencies:
       "@babel/parser": 7.16.10
-      "@vue/compiler-core": 3.2.27
-      "@vue/shared": 3.2.27
+      "@vue/compiler-core": 3.2.28
+      "@vue/shared": 3.2.28
       estree-walker: 2.0.2
       magic-string: 0.25.7
 
-  /@vue/reactivity/3.2.27:
+  /@vue/reactivity/3.2.28:
     resolution:
       {
-        integrity: sha512-QPfIQEJidRGIu/mPexhcB4csp1LEg2Nr+/QE72MnXs/OYDtFErhC9FxIyymkxp/xvAgL5wsnSOuDD6zWF42vRQ==
+        integrity: sha512-WamM5LGv7JIarW+EYAzYFqYonZXjTnOjNW0sBO93jRE9I1ReAwfH8NvQXkPA3JZ3fuF6SGDdG8Y9/+dKjd/1Gw==
       }
     dependencies:
-      "@vue/shared": 3.2.27
+      "@vue/shared": 3.2.28
     dev: false
 
-  /@vue/runtime-core/3.2.27:
+  /@vue/runtime-core/3.2.28:
     resolution:
       {
-        integrity: sha512-NJrjuViHJyrT4bwIocbE4XDaDlA1Pj61pQlneZZdFEvgdMLlhzCCiJ4WZnWcohYQeisUAZjEFKK8GjQieDPFbw==
+        integrity: sha512-sVbBMFUt42JatTlXbdH6tVcLPw1eEOrrVQWI+j6/nJVzR852RURaT6DhdR0azdYscxq4xmmBctE0VQmlibBOFw==
       }
     dependencies:
-      "@vue/reactivity": 3.2.27
-      "@vue/shared": 3.2.27
+      "@vue/reactivity": 3.2.28
+      "@vue/shared": 3.2.28
     dev: false
 
-  /@vue/runtime-dom/3.2.27:
+  /@vue/runtime-dom/3.2.28:
     resolution:
       {
-        integrity: sha512-tlnKkvBSkV7MPUp/wRFsYcv67U1rUeZTPfpPzq5Kpmw5NNGkY6J075fFBH2k0MNxDucXS+qfStNrxAyGTUMkSA==
+        integrity: sha512-Jg7cxZanEXXGu1QnZILFLnDrM+MIFN8VAullmMZiJEZziHvhygRMpi0ahNy/8OqGwtTze1JNhLdHRBO+q2hbmg==
       }
     dependencies:
-      "@vue/runtime-core": 3.2.27
-      "@vue/shared": 3.2.27
+      "@vue/runtime-core": 3.2.28
+      "@vue/shared": 3.2.28
       csstype: 2.6.19
     dev: false
 
-  /@vue/server-renderer/3.2.27_vue@3.2.27:
+  /@vue/server-renderer/3.2.28_vue@3.2.28:
     resolution:
       {
-        integrity: sha512-dZnzkFCDe6A/GIe/F1LcG6lWpprHVh62DjTv8wubtkHwfJWOmOeHp+KvPDRrswL/L3ghsm+E31xY+pvkgM3pbQ==
+        integrity: sha512-S+MhurgkPabRvhdDl8R6efKBmniJqBbbWIYTXADaJIKFLFLQCW4gcYUTbxuebzk6j3z485vpekhrHHymTF52Pg==
       }
     peerDependencies:
-      vue: 3.2.27
+      vue: 3.2.28
     dependencies:
-      "@vue/compiler-ssr": 3.2.27
-      "@vue/shared": 3.2.27
-      vue: 3.2.27
+      "@vue/compiler-ssr": 3.2.28
+      "@vue/shared": 3.2.28
+      vue: 3.2.28
     dev: false
 
-  /@vue/shared/3.2.27:
+  /@vue/shared/3.2.28:
     resolution:
       {
-        integrity: sha512-rpAn9k6O08Lvo7ekBIAnkOukX/4EsEQLPrRJBKhIEasMsOI5eX0f6mq1sDUSY7cgAqWw2d7QtP74CWxdXoyKxA==
+        integrity: sha512-eMQ8s9j8FpbGHlgUAaj/coaG3Q8YtMsoWL/RIHTsE3Ex7PUTyr7V91vB5HqWB5Sn8m4RXTHGO22/skoTUYvp0A==
       }
 
-  /@vueuse/core/7.5.3_vue@3.2.27:
+  /@vueuse/core/7.5.3_vue@3.2.28:
     resolution:
       {
         integrity: sha512-D9j5ymHFMFRXQqCp0yZJkf/bvBGiz0MrKUa364p+L8dMyd5zyq2K1JmHyvoBd4xbTFRfmQ1h878u6YE5LCkDVQ==
@@ -1651,12 +1651,12 @@ packages:
       vue:
         optional: true
     dependencies:
-      "@vueuse/shared": 7.5.3_vue@3.2.27
-      vue: 3.2.27
-      vue-demi: 0.12.1_vue@3.2.27
+      "@vueuse/shared": 7.5.3_vue@3.2.28
+      vue: 3.2.28
+      vue-demi: 0.12.1_vue@3.2.28
     dev: false
 
-  /@vueuse/motion/2.0.0-beta.9_vue@3.2.27:
+  /@vueuse/motion/2.0.0-beta.9_vue@3.2.28:
     resolution:
       {
         integrity: sha512-S61glJRkYCqLJA9oPM+jdAWXM/ZFnRi6UZJ0TpxDUhRuA+ri0G5hwwmcy4y78wvX6gkDUGQFFGELz1xBEwrZww==
@@ -1668,13 +1668,13 @@ packages:
       "@vue/composition-api":
         optional: true
     dependencies:
-      "@vueuse/core": 7.5.3_vue@3.2.27
+      "@vueuse/core": 7.5.3_vue@3.2.28
       popmotion: 11.0.3
-      vue: 3.2.27
-      vue-demi: 0.12.1_vue@3.2.27
+      vue: 3.2.28
+      vue-demi: 0.12.1_vue@3.2.28
     dev: false
 
-  /@vueuse/shared/7.5.3_vue@3.2.27:
+  /@vueuse/shared/7.5.3_vue@3.2.28:
     resolution:
       {
         integrity: sha512-BJ71cxHN5VByW1S58Gl85NFJaQu93F7Vs7K/MuAKsIIuHm9PBbkR5Vxkg9ko9cBdiKVt+FNoo13BhdbA+Vwycg==
@@ -1688,8 +1688,8 @@ packages:
       vue:
         optional: true
     dependencies:
-      vue: 3.2.27
-      vue-demi: 0.12.1_vue@3.2.27
+      vue: 3.2.28
+      vue-demi: 0.12.1_vue@3.2.28
     dev: false
 
   /@windicss/config/1.6.3:
@@ -2422,6 +2422,7 @@ packages:
       {
         integrity: sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==
       }
+    dev: true
 
   /colorette/2.0.16:
     resolution:
@@ -3041,7 +3042,7 @@ packages:
       }
     dev: true
 
-  /element-plus/1.3.0-beta.1_vue@3.2.27:
+  /element-plus/1.3.0-beta.1_vue@3.2.28:
     resolution:
       {
         integrity: sha512-q3vMaKElPpuSTeIF7kuDmMOE+N1YVCCIG3fshXpz6qgjnxPbgZumVM0qGfhr8DTu9JxRbBoDok49dqtX/BWn3w==
@@ -3050,15 +3051,15 @@ packages:
       vue: ^3.2.0
     dependencies:
       "@ctrl/tinycolor": 3.4.0
-      "@element-plus/icons-vue": 0.2.6_vue@3.2.27
+      "@element-plus/icons-vue": 0.2.6_vue@3.2.28
       "@popperjs/core": 2.11.2
-      "@vueuse/core": 7.5.3_vue@3.2.27
+      "@vueuse/core": 7.5.3_vue@3.2.28
       async-validator: 4.0.7
       dayjs: 1.10.7
       lodash: 4.17.21
       memoize-one: 6.0.0
       normalize-wheel-es: 1.1.1
-      vue: 3.2.27
+      vue: 3.2.28
     transitivePeerDependencies:
       - "@vue/composition-api"
     dev: false
@@ -5513,7 +5514,6 @@ packages:
       {
         integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==
       }
-    dev: true
 
   /picomatch/2.3.1:
     resolution:
@@ -5528,7 +5528,7 @@ packages:
     engines: { node: ">=0.10.0" }
     dev: true
 
-  /pinia/2.0.9_typescript@4.4.2+vue@3.2.27:
+  /pinia/2.0.9_typescript@4.5.5+vue@3.2.28:
     resolution:
       {
         integrity: sha512-iuYdxLJKQ07YPyOHYH05wNG9eKWqkP/4y4GE8+RqEYtz5fwHgPA5kr6zQbg/DoEJGnR2XCm1w1vdt6ppzL9ATg==
@@ -5544,9 +5544,9 @@ packages:
         optional: true
     dependencies:
       "@vue/devtools-api": 6.0.0-beta.21.1
-      typescript: 4.4.2
-      vue: 3.2.27
-      vue-demi: 0.12.1_vue@3.2.27
+      typescript: 4.5.5
+      vue: 3.2.28
+      vue-demi: 0.12.1_vue@3.2.28
     dev: false
 
   /please-upgrade-node/3.2.0:
@@ -6073,6 +6073,7 @@ packages:
       colorette: 1.4.0
       nanoid: 3.2.0
       source-map: 0.6.1
+    dev: true
 
   /postcss/8.4.5:
     resolution:
@@ -6084,7 +6085,6 @@ packages:
       nanoid: 3.2.0
       picocolors: 1.0.0
       source-map-js: 1.0.2
-    dev: true
 
   /preact/10.6.4:
     resolution:
@@ -6390,7 +6390,7 @@ packages:
       supports-preserve-symlinks-flag: 1.0.0
     dev: true
 
-  /responsive-storage/1.0.11_vue@3.2.27:
+  /responsive-storage/1.0.11_vue@3.2.28:
     resolution:
       {
         integrity: sha512-XY/21b7FKCXwBWGLuxp5KUQOAh8jOTsdfRMz0RVE9P+HhK4oYXKcNESDLxE1mD5MWPg/i+k4SGogro5daMrE9A==
@@ -6398,7 +6398,7 @@ packages:
     peerDependencies:
       vue: ^3.2.0
     dependencies:
-      vue: 3.2.27
+      vue: 3.2.28
     dev: false
 
   /restore-cursor/3.1.0:
@@ -6669,7 +6669,6 @@ packages:
         integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==
       }
     engines: { node: ">=0.10.0" }
-    dev: true
 
   /source-map-support/0.5.21:
     resolution:
@@ -7172,7 +7171,7 @@ packages:
         integrity: sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
       }
 
-  /tsutils/3.21.0_typescript@4.4.2:
+  /tsutils/3.21.0_typescript@4.5.5:
     resolution:
       {
         integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==
@@ -7182,7 +7181,7 @@ packages:
       typescript: ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta"
     dependencies:
       tslib: 1.14.1
-      typescript: 4.4.2
+      typescript: 4.5.5
     dev: true
 
   /type-check/0.4.0:
@@ -7258,15 +7257,6 @@ packages:
       is-typedarray: 1.0.0
     dev: true
 
-  /typescript/4.4.2:
-    resolution:
-      {
-        integrity: sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==
-      }
-    engines: { node: ">=4.2.0" }
-    hasBin: true
-    dev: true
-
   /typescript/4.5.5:
     resolution:
       {
@@ -7354,7 +7344,7 @@ packages:
     engines: { node: ">= 0.8" }
     dev: true
 
-  /unplugin-element-plus/0.2.0_vite@2.7.13+vue@3.2.27:
+  /unplugin-element-plus/0.2.0_vite@2.7.13+vue@3.2.28:
     resolution:
       {
         integrity: sha512-eBgNLCZUUCfl68J+pb9MWVh8amBjLWL5yZ8BuNuJfhS6FFGJ/dMtCmAoaeHyI9wE3k+7C4gbfEM78dkX48gfVA==
@@ -7365,8 +7355,8 @@ packages:
       "@rollup/pluginutils": 4.1.2
       es-module-lexer: 0.9.3
       magic-string: 0.25.7
-      unplugin: 0.3.0_vite@2.7.13
-      vue: 3.2.27
+      unplugin: 0.3.1_vite@2.7.13
+      vue: 3.2.28
     transitivePeerDependencies:
       - esbuild
       - rollup
@@ -7374,10 +7364,10 @@ packages:
       - webpack
     dev: true
 
-  /unplugin/0.3.0_vite@2.7.13:
+  /unplugin/0.3.1_vite@2.7.13:
     resolution:
       {
-        integrity: sha512-9yLlOo+XC4NdIRgpkDSHOAHkQDq2x4mbuVNO/eKVa3C8WTn5wWGfzEFfRJFL8euqnX3Gf7hEur0AhXxy+WSwkg==
+        integrity: sha512-AKagqOA5un8rT0vIoCyQ7ii1XcwAOynLYUmmd+DeyQdT9AkYtmRlk4eEsb0HOtovrufxGprOPOol1CwBTI4HRw==
       }
     peerDependencies:
       esbuild: ">=0.13"
@@ -7451,7 +7441,7 @@ packages:
     hasBin: true
     dev: true
 
-  /v-contextmenu/3.0.0_vue@3.2.27:
+  /v-contextmenu/3.0.0_vue@3.2.28:
     resolution:
       {
         integrity: sha512-zi38JxmTt66TmljgV1JbfEa9WvoQkpzRuEwZK7Tjb2XoRejbWLozQtkyTWXJa6x6Y3FrVDfgT36w01gpTpo41A==
@@ -7460,7 +7450,7 @@ packages:
     peerDependencies:
       vue: ^3.0.0
     dependencies:
-      vue: 3.2.27
+      vue: 3.2.28
     dev: false
 
   /v8-compile-cache/2.3.0:
@@ -7587,7 +7577,7 @@ packages:
         integrity: sha512-FP6qCN57coIOwmtah68ofpi4dewGmfzPcoKe76RMnJoz7qBTXxQVm2BlnH0YzGeCbOcjm9NKauJ1I6J9OlUUtg==
       }
     dependencies:
-      "@vue/compiler-sfc": 3.2.27
+      "@vue/compiler-sfc": 3.2.28
       svgo: 2.8.0
     dev: true
 
@@ -7619,7 +7609,7 @@ packages:
       fsevents: 2.3.2
     dev: true
 
-  /vue-demi/0.12.1_vue@3.2.27:
+  /vue-demi/0.12.1_vue@3.2.28:
     resolution:
       {
         integrity: sha512-QL3ny+wX8c6Xm1/EZylbgzdoDolye+VpCXRhI2hug9dJTP3OUJ3lmiKN3CsVV3mOJKwFi0nsstbgob0vG7aoIw==
@@ -7634,7 +7624,7 @@ packages:
       "@vue/composition-api":
         optional: true
     dependencies:
-      vue: 3.2.27
+      vue: 3.2.28
     dev: false
 
   /vue-eslint-parser/7.10.0_eslint@7.30.0:
@@ -7658,7 +7648,7 @@ packages:
       - supports-color
     dev: true
 
-  /vue-i18n/9.2.0-beta.28_vue@3.2.27:
+  /vue-i18n/9.2.0-beta.28_vue@3.2.28:
     resolution:
       {
         integrity: sha512-Jn7DHA3JgOYaB6ahqmuW0wQ2zZx0ivastVDUul8325geyT0Q4PblJvXvfWHi2L0eb+YjWMZvf30MQYJ1FWDlfQ==
@@ -7671,10 +7661,10 @@ packages:
       "@intlify/shared": 9.2.0-beta.28
       "@intlify/vue-devtools": 9.2.0-beta.28
       "@vue/devtools-api": 6.0.0-beta.21.1
-      vue: 3.2.27
+      vue: 3.2.28
     dev: false
 
-  /vue-json-pretty/2.0.6_vue@3.2.27:
+  /vue-json-pretty/2.0.6_vue@3.2.28:
     resolution:
       {
         integrity: sha512-aVdxw8ZRGR/Uj8GEaJ1/W2Ks/MdCfv5t2HRbbd+ICp3nL7msKRLN+1qOkSzaMvDygbDPxGhwUHBxZz8nxP+r3A==
@@ -7683,10 +7673,10 @@ packages:
     peerDependencies:
       vue: ">=3.0.0"
     dependencies:
-      vue: 3.2.27
+      vue: 3.2.28
     dev: false
 
-  /vue-router/4.0.12_vue@3.2.27:
+  /vue-router/4.0.12_vue@3.2.28:
     resolution:
       {
         integrity: sha512-CPXvfqe+mZLB1kBWssssTiWg4EQERyqJZes7USiqfW9B5N2x+nHlnsM1D3b5CaJ6qgCvMmYJnz+G0iWjNCvXrg==
@@ -7695,10 +7685,10 @@ packages:
       vue: ^3.0.0
     dependencies:
       "@vue/devtools-api": 6.0.0-beta.21.1
-      vue: 3.2.27
+      vue: 3.2.28
     dev: false
 
-  /vue-types/4.1.1_vue@3.2.27:
+  /vue-types/4.1.1_vue@3.2.28:
     resolution:
       {
         integrity: sha512-Jq2GZ/w6rExJbLA/h7nHBFLciu+YNekgox0DB64wN1snZ4IIJMq+qnqp1/vE4fc7vEjZcP5KGhLzkkSjIHLRzw==
@@ -7708,23 +7698,23 @@ packages:
       vue: ^2.0.0 || ^3.0.0
     dependencies:
       is-plain-object: 5.0.0
-      vue: 3.2.27
+      vue: 3.2.28
     dev: false
 
-  /vue/3.2.27:
+  /vue/3.2.28:
     resolution:
       {
-        integrity: sha512-p1cH8Q6eaPwvANCjFQj497a914cxXKKwOG3Lg9USddTOrn4/zFMKjn9dnovkx+L8VtFaNgbVqW8mLJS/eTA6xw==
+        integrity: sha512-U+jBwVh3RQ9AgceLFdT7i2FFujoC+kYuGrKo5y8aLluWKZWPS40WgA2pyYHaiSX9ydCbEGr3rc/JzdqskzD95g==
       }
     dependencies:
-      "@vue/compiler-dom": 3.2.27
-      "@vue/compiler-sfc": 3.2.27
-      "@vue/runtime-dom": 3.2.27
-      "@vue/server-renderer": 3.2.27_vue@3.2.27
-      "@vue/shared": 3.2.27
+      "@vue/compiler-dom": 3.2.28
+      "@vue/compiler-sfc": 3.2.28
+      "@vue/runtime-dom": 3.2.28
+      "@vue/server-renderer": 3.2.28_vue@3.2.28
+      "@vue/shared": 3.2.28
     dev: false
 
-  /vuedraggable/4.1.0_vue@3.2.27:
+  /vuedraggable/4.1.0_vue@3.2.28:
     resolution:
       {
         integrity: sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww==
@@ -7733,10 +7723,10 @@ packages:
       vue: ^3.0.1
     dependencies:
       sortablejs: 1.14.0
-      vue: 3.2.27
+      vue: 3.2.28
     dev: false
 
-  /vxe-table/4.1.19_vue@3.2.27+xe-utils@3.5.2:
+  /vxe-table/4.1.19_vue@3.2.28+xe-utils@3.5.2:
     resolution:
       {
         integrity: sha512-Vk0UuFlHt2ObbK/nl/G4KWJCxE9hu/1G3AWozMD7dyq0sB2gy5eXPVb3/cwHgLHO4VwoPan5N6eVzb/jzLVOWA==
@@ -7745,7 +7735,7 @@ packages:
       vue: ^3.2.2
       xe-utils: ^3.5.0
     dependencies:
-      vue: 3.2.27
+      vue: 3.2.28
       xe-utils: 3.5.2
     dev: false
 

+ 3 - 2
src/App.vue

@@ -5,10 +5,11 @@
 </template>
 
 <script lang="ts">
+import { defineComponent } from "vue";
 import { ElConfigProvider } from "element-plus";
 import zhCn from "element-plus/lib/locale/lang/zh-cn";
 import en from "element-plus/lib/locale/lang/en";
-export default {
+export default defineComponent({
   name: "app",
   components: {
     [ElConfigProvider.name]: ElConfigProvider
@@ -18,5 +19,5 @@ export default {
       return this.$storage.locale?.locale === "zh" ? zhCn : en;
     }
   }
-};
+});
 </script>