kailong321200875 2 жил өмнө
parent
commit
816eba39f1

+ 12 - 12
package.json

@@ -35,13 +35,13 @@
     "axios": "^0.27.2",
     "echarts": "^5.3.3",
     "echarts-wordcloud": "^2.0.0",
-    "element-plus": "2.2.13",
+    "element-plus": "2.2.14",
     "intro.js": "^6.0.0",
     "lodash-es": "^4.17.21",
     "mitt": "^3.0.0",
     "mockjs": "^1.1.0",
     "nprogress": "^0.2.0",
-    "pinia": "^2.0.18",
+    "pinia": "^2.0.20",
     "pinia-plugin-persist": "^1.0.0",
     "qrcode": "^1.5.1",
     "qs": "^6.11.0",
@@ -55,21 +55,21 @@
   "devDependencies": {
     "@commitlint/cli": "^17.0.3",
     "@commitlint/config-conventional": "^17.0.3",
-    "@iconify/json": "^2.1.91",
+    "@iconify/json": "^2.1.95",
     "@intlify/vite-plugin-vue-i18n": "^6.0.1",
     "@purge-icons/generated": "^0.9.0",
     "@types/intro.js": "^5.1.0",
     "@types/lodash-es": "^4.17.6",
-    "@types/node": "^18.7.2",
+    "@types/node": "^18.7.8",
     "@types/nprogress": "^0.2.0",
-    "@types/qrcode": "^1.4.2",
+    "@types/qrcode": "^1.5.0",
     "@types/qs": "^6.9.7",
-    "@typescript-eslint/eslint-plugin": "^5.33.0",
-    "@typescript-eslint/parser": "^5.33.0",
+    "@typescript-eslint/eslint-plugin": "^5.33.1",
+    "@typescript-eslint/parser": "^5.33.1",
     "@vitejs/plugin-vue": "^3.0.3",
     "@vitejs/plugin-vue-jsx": "^2.0.0",
     "autoprefixer": "^10.4.8",
-    "eslint": "^8.21.0",
+    "eslint": "^8.22.0",
     "eslint-config-prettier": "^8.5.0",
     "eslint-define-config": "^1.6.0",
     "eslint-plugin-prettier": "^4.2.1",
@@ -83,7 +83,7 @@
     "postcss-less": "^6.0.0",
     "prettier": "^2.7.1",
     "rimraf": "^3.0.2",
-    "rollup": "^2.77.3",
+    "rollup": "^2.78.1",
     "stylelint": "^14.10.0",
     "stylelint-config-html": "^1.1.0",
     "stylelint-config-prettier": "^9.0.3",
@@ -91,9 +91,9 @@
     "stylelint-config-standard": "^27.0.0",
     "stylelint-order": "^5.0.0",
     "typescript": "4.7.4",
-    "unplugin-vue-macros": "^0.8.3",
-    "vite": "3.0.7",
-    "vite-plugin-eslint": "^1.8.0",
+    "unplugin-vue-macros": "^0.10.0",
+    "vite": "3.0.9",
+    "vite-plugin-eslint": "^1.8.1",
     "vite-plugin-html": "^3.2.0",
     "vite-plugin-mock": "^2.9.6",
     "vite-plugin-purge-icons": "^0.9.0",

+ 2 - 2
src/components/Qrcode/src/Qrcode.vue

@@ -63,11 +63,11 @@ const initQrcode = async () => {
       options.errorCorrectionLevel || getErrorCorrectionLevel(unref(renderText))
     const _width: number = await getOriginWidth(unref(renderText), options)
     options.scale = props.width === 0 ? undefined : (props.width / _width) * 4
-    const canvasRef: HTMLCanvasElement = await toCanvas(
+    const canvasRef = (await toCanvas(
       unref(wrapRef) as HTMLCanvasElement,
       unref(renderText),
       options
-    )
+    )) as unknown as HTMLCanvasElement
     if (props.logo) {
       const url = await createLogoCode(canvasRef)
       emit('done', url)

+ 1 - 1
src/router/index.ts

@@ -325,7 +325,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [
     redirect: '/hooks/useWatermark',
     name: 'Hooks',
     meta: {
-      title: t('router.component'),
+      title: 'hooks',
       icon: 'ic:outline-webhook',
       alwaysShow: true
     },