Bladeren bron

chore: update

xiaoxian521 2 jaren geleden
bovenliggende
commit
cec867297d
3 gewijzigde bestanden met toevoegingen van 86 en 86 verwijderingen
  1. 1 1
      package.json
  2. 83 83
      pnpm-lock.yaml
  3. 2 2
      src/layout/components/sidebar/breadCrumb.vue

+ 1 - 1
package.json

@@ -143,7 +143,7 @@
     "stylelint-config-standard": "^24.0.0",
     "stylelint-order": "^5.0.0",
     "typescript": "^4.7.4",
-    "unocss": "^0.45.8",
+    "unocss": "^0.45.9",
     "unplugin-vue-define-options": "^0.7.3",
     "vite": "^3.0.9",
     "vite-plugin-mock": "^2.9.6",

+ 83 - 83
pnpm-lock.yaml

@@ -100,7 +100,7 @@ specifiers:
   stylelint-order: ^5.0.0
   swiper: ^8.3.2
   typescript: ^4.7.4
-  unocss: ^0.45.8
+  unocss: ^0.45.9
   unplugin-vue-define-options: ^0.7.3
   v-contextmenu: 3.0.0
   vite: ^3.0.9
@@ -239,7 +239,7 @@ devDependencies:
   stylelint-config-standard: 24.0.0_stylelint@14.10.0
   stylelint-order: 5.0.0_stylelint@14.10.0
   typescript: 4.7.4
-  unocss: 0.45.8_vite@3.0.9
+  unocss: 0.45.9_vite@3.0.9
   unplugin-vue-define-options: 0.7.3_vite@3.0.9+vue@3.2.37
   vite: 3.0.9_sass@1.54.4
   vite-plugin-mock: 2.9.6_mockjs@1.1.0+vite@3.0.9
@@ -1853,17 +1853,17 @@ packages:
       eslint-visitor-keys: 3.3.0
     dev: true
 
-  /@unocss/cli/0.45.8:
+  /@unocss/cli/0.45.9:
     resolution:
       {
-        integrity: sha512-/JyYXi4SsKNkEqB3wG/3FPAOHbQ4YTl0caI8KusMrbNIdGnBHTG9Vi5IzTE7Oyt3yksvwjfgNnOGsiRWBqxq2Q==
+        integrity: sha512-DdSiCbLjmU5GkPKAykIeB/S28uSYWaqkdIMh7aQmg7i3ouCqp61vOeu9eiKoKK2HNm+ivPRznR4drk7zb6d9SA==
       }
     engines: { node: ">=14" }
     hasBin: true
     dependencies:
-      "@unocss/config": 0.45.8
-      "@unocss/core": 0.45.8
-      "@unocss/preset-uno": 0.45.8
+      "@unocss/config": 0.45.9
+      "@unocss/core": 0.45.9
+      "@unocss/preset-uno": 0.45.9
       cac: 6.7.12
       chokidar: 3.5.3
       colorette: 2.0.19
@@ -1873,180 +1873,180 @@ packages:
       perfect-debounce: 0.1.3
     dev: true
 
-  /@unocss/config/0.45.8:
+  /@unocss/config/0.45.9:
     resolution:
       {
-        integrity: sha512-iwxHS0yuf/tPab8Oij6Q9pjCUASAdUJC31n0rp3VpyexjzfI/335ysbEzrBuwgxLV3RWk7Z1kHizCw+kQwZ+tw==
+        integrity: sha512-+HAtOxxW/BMNSunM7VwoCkCgb6SY8LpiGcfOnkrrynf/cne9RQQdfQPlMjbKLCIneBPtOSJWAKFMrPcVm0QW/w==
       }
     engines: { node: ">=14" }
     dependencies:
-      "@unocss/core": 0.45.8
+      "@unocss/core": 0.45.9
       unconfig: 0.3.5
     dev: true
 
-  /@unocss/core/0.45.8:
+  /@unocss/core/0.45.9:
     resolution:
       {
-        integrity: sha512-Iskmc1FaxIUAw4HK1U3htvXxJ4YAtffn3+ygNKY8+bzuOqhIk84vbp7SnHV3b8X6IHl4/OYzNRlVFhJQYnWV7g==
+        integrity: sha512-ZUHgE8q7oYNFW+lPyH71n2weR9mhYL4WY/FL6K+sa9mVEYA4Lq15sCKTB+fbowB4CDLxZ8BEGNX3I9Qpn46lHA==
       }
     dev: true
 
-  /@unocss/inspector/0.45.8:
+  /@unocss/inspector/0.45.9:
     resolution:
       {
-        integrity: sha512-dvGYyVVofH8VxMvqaRfysxIbRkaunvs5M5Z8UVaCCfjfrDX6nqAQfSOakXWODEz8Y2JEfKEDLWfSn+oQWb9ohA==
+        integrity: sha512-/GFt/NG349cs9HnVejQe0T2HUUx8lOIjSP0cgReibWJ2idIuu9NLYPTh1YuT37ygHkze19106/HLu50lGtjAmw==
       }
     dependencies:
       gzip-size: 6.0.0
       sirv: 2.0.2
     dev: true
 
-  /@unocss/preset-attributify/0.45.8:
+  /@unocss/preset-attributify/0.45.9:
     resolution:
       {
-        integrity: sha512-5j8TfoYWKkpV0f2fwDTtAyRl+2zoquqg5JfuQDr1ELUpSodmHq9hMvt53EmG/S1wotijthsdh8jcjCRLQ36Xuw==
+        integrity: sha512-jIpBx7J3XHg/QBxybU4kZr9io853ifrkcs/QfKgc2DFq+iOQfnIxFuMGJNs7oH2Py86MkX6ZkYuDJ5IlcE+v2A==
       }
     dependencies:
-      "@unocss/core": 0.45.8
+      "@unocss/core": 0.45.9
     dev: true
 
-  /@unocss/preset-icons/0.45.8:
+  /@unocss/preset-icons/0.45.9:
     resolution:
       {
-        integrity: sha512-2dcK2Z8xMiJoKhgraTyarJioqyh2SglXrvJ+xp7HNDOhwQcbzxdw9JzwBT1hCq03ohm2Z1CdF9xP9nbFqdpY/A==
+        integrity: sha512-Tla5xII9TzLgunOu4sbOshJwif2FYcX1xgql6KeFhL6f37Z6EUiax4TBgPC3GIreleRLhACVP8sZUil3fK2zcA==
       }
     dependencies:
       "@iconify/utils": 1.0.33
-      "@unocss/core": 0.45.8
+      "@unocss/core": 0.45.9
       ohmyfetch: 0.4.18
     transitivePeerDependencies:
       - supports-color
     dev: true
 
-  /@unocss/preset-mini/0.45.8:
+  /@unocss/preset-mini/0.45.9:
     resolution:
       {
-        integrity: sha512-MWQWt7CR9lqR/2N7dnVQrxxuTxxccL7xj82qb8i2P1qQScyVVdPKTeUozu/oA5HrR0ujh+qjV1iTC8RB5HxbbQ==
+        integrity: sha512-WLBKaE+WYBPbRK4Q3lHDBf8luFElNd0cG4e05Tttg028ImZIhDsPGkGAGLKk5wmA1CiUvG/K976NywOchA9T6A==
       }
     dependencies:
-      "@unocss/core": 0.45.8
+      "@unocss/core": 0.45.9
     dev: true
 
-  /@unocss/preset-tagify/0.45.8:
+  /@unocss/preset-tagify/0.45.9:
     resolution:
       {
-        integrity: sha512-ePq3HUxPIuQR8MPDtgrzB/dOYGyba2KtCUjp5Zy0EPY4bd31ysz2AixjOOygFQIx5JrnYKs6WxW9PdhwMJUnXg==
+        integrity: sha512-cOjxRp3EWWJSVA69NiqsRdLlB2SFGys4w+44X4UYe0yYHr2L3bJEK66gPj3YLuyiBfmbv5RSv1OaP2a1RHQ1ZA==
       }
     dependencies:
-      "@unocss/core": 0.45.8
+      "@unocss/core": 0.45.9
     dev: true
 
-  /@unocss/preset-typography/0.45.8:
+  /@unocss/preset-typography/0.45.9:
     resolution:
       {
-        integrity: sha512-x0MyuyPLfwvQenHwVHhLRzhjtuQL9S5qkdGh04kOySprp1wIsu14L6w/zFequvVSk55Tb8s+QMd9TmTYR/MZPg==
+        integrity: sha512-TaHnAZd6UU2qNz0dEqoniBrwEOCpsifZquOK6hFRCj4FKwWWP2VEOgdVclgjL8DDWLZeS4bfTn2zQ5pGfo8tDQ==
       }
     dependencies:
-      "@unocss/core": 0.45.8
+      "@unocss/core": 0.45.9
     dev: true
 
-  /@unocss/preset-uno/0.45.8:
+  /@unocss/preset-uno/0.45.9:
     resolution:
       {
-        integrity: sha512-WxE9aAHCnmZMwzdhiKYawvyQx1wucl/AsoxTpnNgToARaGLiQiWJCT7ov0VgNndbxD1mfCIA4f9LxNklkFVZzA==
+        integrity: sha512-YqQRPeVDrY7poBUw0tOOD3Vd8QCEmhIjN63MovA0RnEG6NMweMuJ5ahqVarfp3Rrcfycmgya6WWGk6ZOlinl5A==
       }
     dependencies:
-      "@unocss/core": 0.45.8
-      "@unocss/preset-mini": 0.45.8
-      "@unocss/preset-wind": 0.45.8
+      "@unocss/core": 0.45.9
+      "@unocss/preset-mini": 0.45.9
+      "@unocss/preset-wind": 0.45.9
     dev: true
 
-  /@unocss/preset-web-fonts/0.45.8:
+  /@unocss/preset-web-fonts/0.45.9:
     resolution:
       {
-        integrity: sha512-GvBZrDtAOkyOwphdzT3v1QniJfFssR0LhWfJPBpNsOi3Of2iz8Zq0LisbPF7PEFS0fPicijDcgyVUTj1TK71Ew==
+        integrity: sha512-kWYfUcvRvoPyxmf6q8AZV+cLeVJH6p4tmvDnV9iLckCThYYC+6ADHlnRimv8PJtVvy6hgv46vf0X3ZA4HLSqzg==
       }
     dependencies:
-      "@unocss/core": 0.45.8
+      "@unocss/core": 0.45.9
       ohmyfetch: 0.4.18
     dev: true
 
-  /@unocss/preset-wind/0.45.8:
+  /@unocss/preset-wind/0.45.9:
     resolution:
       {
-        integrity: sha512-AWupVDOIRswf8CnKkWeBi1G7UBjrigQHewj/VPtnXPP7bqOHY91+4T/iaTtYJ5lrKauYVR4ZndOM1qJGEY09Gg==
+        integrity: sha512-LMlWg8jsUwqlhd6jwtn5QCTzb1et0k7yNIZwyL6Y2AOHW5g5jqaTvKTWVjQpfu9wmlxTTVXDBmaOV3cOiosvuw==
       }
     dependencies:
-      "@unocss/core": 0.45.8
-      "@unocss/preset-mini": 0.45.8
+      "@unocss/core": 0.45.9
+      "@unocss/preset-mini": 0.45.9
     dev: true
 
-  /@unocss/reset/0.45.8:
+  /@unocss/reset/0.45.9:
     resolution:
       {
-        integrity: sha512-zeIYa/d/amPhX6/del0k6K8/Hdl/nN12XCeiVfBKymlilAjQQyV64V/qdLBtSKzqegT68O/xMscla7pZDto4Hw==
+        integrity: sha512-FiLi3jas0L3CkfdAYXRybRjAjGz9lZQ4+8IglBXKyR9UDnHssNemo5+NGEv7xpsItPm99b/lsMvLnx1JX/As5Q==
       }
     dev: true
 
-  /@unocss/scope/0.45.8:
+  /@unocss/scope/0.45.9:
     resolution:
       {
-        integrity: sha512-Zf08xhCBqFHCaf8kGwMXu0+JRR3U9v8m7Y2LwUK4zg6LdcfGX9luykPfiNJSsFQ20l7cWBcj2g4tWdzFvIcDMA==
+        integrity: sha512-1JOv+xCYYetofqpfWmBX1kXIqo2n788FRWNPzkbSGaH5qdS9za1+wECBlTiWpbvyfeB4gX88d8+DX9YL4PjVdA==
       }
     dev: true
 
-  /@unocss/transformer-attributify-jsx/0.45.8:
+  /@unocss/transformer-attributify-jsx/0.45.9:
     resolution:
       {
-        integrity: sha512-tpWr37wXvOPkMuXaTGkjSbKqz4DD2MuxKxzTs+DUQ5H7ABvp/XVnCiHudtgjLzaVAfEZgdybKFUs+xX+RuxnWA==
+        integrity: sha512-QgCuztKpm0jLZhJbEWGrajwT1iURtGXtALBLVdqqM/D5FoFpHpkddOhr5ud+XGoyRhy9E9m9WdfyTq8g97HHgQ==
       }
     dependencies:
-      "@unocss/core": 0.45.8
+      "@unocss/core": 0.45.9
     dev: true
 
-  /@unocss/transformer-compile-class/0.45.8:
+  /@unocss/transformer-compile-class/0.45.9:
     resolution:
       {
-        integrity: sha512-nYIQbXgc8yyzSYqIrb3+mojFTewOavmYreC+cmsvFhE+q3q5ZpdXNx0hgpkOFQ7Dg5KoPG9aKH+dXFjG33GcmQ==
+        integrity: sha512-x0MWUdTMPndS4AZEwlV+ugDdTYeezEGCC0fKb/jKujF3RMf9m6C8/MZw3eiZ5LNHKU1kfor1NWCTjshXl4pV3Q==
       }
     dependencies:
-      "@unocss/core": 0.45.8
+      "@unocss/core": 0.45.9
     dev: true
 
-  /@unocss/transformer-directives/0.45.8:
+  /@unocss/transformer-directives/0.45.9:
     resolution:
       {
-        integrity: sha512-das5qyPOXjw7I6eXm6ETrnBQmfwzJo/RGMUkWmed67sYL4tWGLLYu8fOqoIR8vPGc6h5YmFjBGqOOCyX+NDmlg==
+        integrity: sha512-88t2zWFVpYNk3kFBiJWW4oYerbVnyk9smPZD9+HJewPJbvbHm6UboW4rEy3KepT2heyn7GTpLjfLD08yDZFvIA==
       }
     dependencies:
-      "@unocss/core": 0.45.8
+      "@unocss/core": 0.45.9
       css-tree: 2.2.1
     dev: true
 
-  /@unocss/transformer-variant-group/0.45.8:
+  /@unocss/transformer-variant-group/0.45.9:
     resolution:
       {
-        integrity: sha512-fp1tNBhO3VPxOnzDWZNqrQ1oWngeYUXeJZRl94pdsp+4nWoFrbCXG/nDn7a+Qk223al32B3rO/GLJl7nOpSmRw==
+        integrity: sha512-xB7ygI81u9yVpJvKDo5l03KC0zwJRerpncNxpReDpPGTcpnoYqoazX0CZ/sCekuE3ErZC6UJkyknEuwT+8owog==
       }
     dependencies:
-      "@unocss/core": 0.45.8
+      "@unocss/core": 0.45.9
     dev: true
 
-  /@unocss/vite/0.45.8_vite@3.0.9:
+  /@unocss/vite/0.45.9_vite@3.0.9:
     resolution:
       {
-        integrity: sha512-uGKe0tbxcJgk9aEKa+AYjbU3i0Yh1N7ekvdLGZD+xwk+EvIOg4Hc8mym5gOOh4wRYKROoVOPp1Z7m+GwCVecAA==
+        integrity: sha512-Wb0JSaO/D8IvXku6+bImr4oobYbFFcqXYAT3QrWTYdCuEZ7Zn6svNN4f1baMvKH5djm7cn9YNL7lroOXN0/m8Q==
       }
     peerDependencies:
       vite: ^2.9.0 || ^3.0.0-0
     dependencies:
       "@ampproject/remapping": 2.2.0
       "@rollup/pluginutils": 4.2.1
-      "@unocss/config": 0.45.8
-      "@unocss/core": 0.45.8
-      "@unocss/inspector": 0.45.8
-      "@unocss/scope": 0.45.8
-      "@unocss/transformer-directives": 0.45.8
+      "@unocss/config": 0.45.9
+      "@unocss/core": 0.45.9
+      "@unocss/inspector": 0.45.9
+      "@unocss/scope": 0.45.9
+      "@unocss/transformer-directives": 0.45.9
       magic-string: 0.26.2
       vite: 3.0.9_sass@1.54.4
     dev: true
@@ -8786,34 +8786,34 @@ packages:
     engines: { node: ">= 10.0.0" }
     dev: true
 
-  /unocss/0.45.8_vite@3.0.9:
+  /unocss/0.45.9_vite@3.0.9:
     resolution:
       {
-        integrity: sha512-OIStfHtH0sv1MYz0x+fa8wEBuwRS0lFhnlRwo/zxnNSh5zS+szMKeowhXoC/eoOQBUA1qoHux0qG5GdcJnX2Lg==
+        integrity: sha512-f2gTI1cn2/GZRbvSnCaWZa03IdcRnK33AiBtpJoDW61IRNt7lu+D1upCnkKPjcTrDFTmI7DryXGHlG/b8p4wTQ==
       }
     engines: { node: ">=14" }
     peerDependencies:
-      "@unocss/webpack": 0.45.8
+      "@unocss/webpack": 0.45.9
     peerDependenciesMeta:
       "@unocss/webpack":
         optional: true
     dependencies:
-      "@unocss/cli": 0.45.8
-      "@unocss/core": 0.45.8
-      "@unocss/preset-attributify": 0.45.8
-      "@unocss/preset-icons": 0.45.8
-      "@unocss/preset-mini": 0.45.8
-      "@unocss/preset-tagify": 0.45.8
-      "@unocss/preset-typography": 0.45.8
-      "@unocss/preset-uno": 0.45.8
-      "@unocss/preset-web-fonts": 0.45.8
-      "@unocss/preset-wind": 0.45.8
-      "@unocss/reset": 0.45.8
-      "@unocss/transformer-attributify-jsx": 0.45.8
-      "@unocss/transformer-compile-class": 0.45.8
-      "@unocss/transformer-directives": 0.45.8
-      "@unocss/transformer-variant-group": 0.45.8
-      "@unocss/vite": 0.45.8_vite@3.0.9
+      "@unocss/cli": 0.45.9
+      "@unocss/core": 0.45.9
+      "@unocss/preset-attributify": 0.45.9
+      "@unocss/preset-icons": 0.45.9
+      "@unocss/preset-mini": 0.45.9
+      "@unocss/preset-tagify": 0.45.9
+      "@unocss/preset-typography": 0.45.9
+      "@unocss/preset-uno": 0.45.9
+      "@unocss/preset-web-fonts": 0.45.9
+      "@unocss/preset-wind": 0.45.9
+      "@unocss/reset": 0.45.9
+      "@unocss/transformer-attributify-jsx": 0.45.9
+      "@unocss/transformer-compile-class": 0.45.9
+      "@unocss/transformer-directives": 0.45.9
+      "@unocss/transformer-variant-group": 0.45.9
+      "@unocss/vite": 0.45.9_vite@3.0.9
     transitivePeerDependencies:
       - supports-color
       - vite

+ 2 - 2
src/layout/components/sidebar/breadCrumb.vue

@@ -59,10 +59,10 @@ const getBreadcrumb = (): void => {
   }
 
   matched.forEach((item, index) => {
-    if (currentRoute.query || currentRoute.params) return;
+    if (currentRoute?.query || currentRoute?.params) return;
     if (item?.children) {
       item.children.forEach(v => {
-        if (v.meta.title === item.meta.title) {
+        if (v?.meta?.title === item?.meta?.title) {
           matched.splice(index, 1);
         }
       });