From c79862a6c81d4e2b04d8b64b517f5d5ea4d8e9c3 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Fri, 23 Dec 2022 18:41:27 +0800 Subject: [PATCH] chore: update --- package.json | 2 +- pnpm-lock.yaml | 176 +++++++++--------- src/layout/components/sidebar/sidebarItem.vue | 3 +- 3 files changed, 91 insertions(+), 90 deletions(-) diff --git a/package.json b/package.json index 236a5ab..ad1aad2 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "terser": "^5.16.1", "typescript": "^4.9.3", "unplugin-vue-define-options": "^1.1.1", - "vite": "^4.0.2", + "vite": "^4.0.3", "vite-plugin-cdn-import": "^0.3.5", "vite-plugin-compression": "^0.5.1", "vite-plugin-mock": "^2.9.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2f21464..c33ebd5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -68,7 +68,7 @@ specifiers: terser: ^5.16.1 typescript: ^4.9.3 unplugin-vue-define-options: ^1.1.1 - vite: ^4.0.2 + vite: ^4.0.3 vite-plugin-cdn-import: ^0.3.5 vite-plugin-compression: ^0.5.1 vite-plugin-mock: ^2.9.6 @@ -119,8 +119,8 @@ devDependencies: "@types/qs": 6.9.7 "@typescript-eslint/eslint-plugin": 5.46.1_imrg37k3svwu377c6q7gkarwmi "@typescript-eslint/parser": 5.46.1_ha6vam6werchizxrnqvarmz2zu - "@vitejs/plugin-vue": 4.0.0_vite@4.0.2+vue@3.2.45 - "@vitejs/plugin-vue-jsx": 3.0.0_vite@4.0.2+vue@3.2.45 + "@vitejs/plugin-vue": 4.0.0_vite@4.0.3+vue@3.2.45 + "@vitejs/plugin-vue-jsx": 3.0.0_vite@4.0.3+vue@3.2.45 "@vue/eslint-config-prettier": 7.0.0_wdw3qg4p7crmsoaizcyntelyni "@vue/eslint-config-typescript": 11.0.2_4ajq2belonl3hwwudzbg7tkiqi autoprefixer: 10.4.13_postcss@8.4.20 @@ -153,10 +153,10 @@ devDependencies: terser: 5.16.1 typescript: 4.9.4 unplugin-vue-define-options: 1.1.1_vue@3.2.45 - vite: 4.0.2_fgfkqxcefcouvwljpt4dl27fkq + vite: 4.0.3_fgfkqxcefcouvwljpt4dl27fkq vite-plugin-cdn-import: 0.3.5 - vite-plugin-compression: 0.5.1_vite@4.0.2 - vite-plugin-mock: 2.9.6_mockjs@1.1.0+vite@4.0.2 + vite-plugin-compression: 0.5.1_vite@4.0.3 + vite-plugin-mock: 2.9.6_mockjs@1.1.0+vite@4.0.3 vite-plugin-remove-console: 1.3.0 vite-svg-loader: 3.6.0 vue-eslint-parser: 9.1.0_eslint@8.29.0 @@ -784,10 +784,10 @@ packages: - typescript dev: true - /@esbuild/android-arm/0.16.9: + /@esbuild/android-arm/0.16.10: resolution: { - integrity: sha512-kW5ccqWHVOOTGUkkJbtfoImtqu3kA1PFkivM+9QPFSHphPfPBlBalX9eDRqPK+wHCqKhU48/78T791qPgC9e9A== + integrity: sha512-RmJjQTRrO6VwUWDrzTBLmV4OJZTarYsiepLGlF2rYTVB701hSorPywPGvP6d8HCuuRibyXa5JX4s3jN2kHEtjQ== } engines: { node: ">=12" } cpu: [arm] @@ -796,10 +796,10 @@ packages: dev: true optional: true - /@esbuild/android-arm64/0.16.9: + /@esbuild/android-arm64/0.16.10: resolution: { - integrity: sha512-ndIAZJUeLx4O+4AJbFQCurQW4VRUXjDsUvt1L+nP8bVELOWdmdCEOtlIweCUE6P+hU0uxYbEK2AEP0n5IVQvhg== + integrity: sha512-47Y+NwVKTldTlDhSgJHZ/RpvBQMUDG7eKihqaF/u6g7s0ZPz4J1vy8A3rwnnUOF2CuDn7w7Gj/QcMoWz3U3SJw== } engines: { node: ">=12" } cpu: [arm64] @@ -808,10 +808,10 @@ packages: dev: true optional: true - /@esbuild/android-x64/0.16.9: + /@esbuild/android-x64/0.16.10: resolution: { - integrity: sha512-UbMcJB4EHrAVOnknQklREPgclNU2CPet2h+sCBCXmF2mfoYWopBn/CfTfeyOkb/JglOcdEADqAljFndMKnFtOw== + integrity: sha512-C4PfnrBMcuAcOurQzpF1tTtZz94IXO5JmICJJ3NFJRHbXXsQUg9RFG45KvydKqtFfBaFLCHpduUkUfXwIvGnRg== } engines: { node: ">=12" } cpu: [x64] @@ -820,10 +820,10 @@ packages: dev: true optional: true - /@esbuild/darwin-arm64/0.16.9: + /@esbuild/darwin-arm64/0.16.10: resolution: { - integrity: sha512-d7D7/nrt4CxPul98lx4PXhyNZwTYtbdaHhOSdXlZuu5zZIznjqtMqLac8Bv+IuT6SVHiHUwrkL6ywD7mOgLW+A== + integrity: sha512-bH/bpFwldyOKdi9HSLCLhhKeVgRYr9KblchwXgY2NeUHBB/BzTUHtUSBgGBmpydB1/4E37m+ggXXfSrnD7/E7g== } engines: { node: ">=12" } cpu: [arm64] @@ -832,10 +832,10 @@ packages: dev: true optional: true - /@esbuild/darwin-x64/0.16.9: + /@esbuild/darwin-x64/0.16.10: resolution: { - integrity: sha512-LZc+Wlz06AkJYtwWsBM3x2rSqTG8lntDuftsUNQ3fCx9ZttYtvlDcVtgb+NQ6t9s6K5No5zutN3pcjZEC2a4iQ== + integrity: sha512-OXt7ijoLuy+AjDSKQWu+KdDFMBbdeaL6wtgMKtDUXKWHiAMKHan5+R1QAG6HD4+K0nnOvEJXKHeA9QhXNAjOTQ== } engines: { node: ">=12" } cpu: [x64] @@ -844,10 +844,10 @@ packages: dev: true optional: true - /@esbuild/freebsd-arm64/0.16.9: + /@esbuild/freebsd-arm64/0.16.10: resolution: { - integrity: sha512-gIj0UQZlQo93CHYouHKkpzP7AuruSaMIm1etcWIxccFEVqCN1xDr6BWlN9bM+ol/f0W9w3hx3HDuEwcJVtGneQ== + integrity: sha512-shSQX/3GHuspE3Uxtq5kcFG/zqC+VuMnJkqV7LczO41cIe6CQaXHD3QdMLA4ziRq/m0vZo7JdterlgbmgNIAlQ== } engines: { node: ">=12" } cpu: [arm64] @@ -856,10 +856,10 @@ packages: dev: true optional: true - /@esbuild/freebsd-x64/0.16.9: + /@esbuild/freebsd-x64/0.16.10: resolution: { - integrity: sha512-GNors4vaMJ7lzGOuhzNc7jvgsQZqErGA8rsW+nck8N1nYu86CvsJW2seigVrQQWOV4QzEP8Zf3gm+QCjA2hnBQ== + integrity: sha512-5YVc1zdeaJGASijZmTzSO4h6uKzsQGG3pkjI6fuXvolhm3hVRhZwnHJkforaZLmzvNv5Tb7a3QL2FAVmrgySIA== } engines: { node: ">=12" } cpu: [x64] @@ -868,10 +868,10 @@ packages: dev: true optional: true - /@esbuild/linux-arm/0.16.9: + /@esbuild/linux-arm/0.16.10: resolution: { - integrity: sha512-cNx1EF99c2t1Ztn0lk9N+MuwBijGF8mH6nx9GFsB3e0lpUpPkCE/yt5d+7NP9EwJf5uzqdjutgVYoH1SNqzudA== + integrity: sha512-c360287ZWI2miBnvIj23bPyVctgzeMT2kQKR+x94pVqIN44h3GF8VMEs1SFPH1UgyDr3yBbx3vowDS1SVhyVhA== } engines: { node: ">=12" } cpu: [arm] @@ -880,10 +880,10 @@ packages: dev: true optional: true - /@esbuild/linux-arm64/0.16.9: + /@esbuild/linux-arm64/0.16.10: resolution: { - integrity: sha512-YPxQunReYp8RQ1FvexFrOEqqf+nLbS3bKVZF5FRT2uKM7Wio7BeATqAwO02AyrdSEntt3I5fhFsujUChIa8CZg== + integrity: sha512-2aqeNVxIaRfPcIaMZIFoblLh588sWyCbmj1HHCCs9WmeNWm+EIN0SmvsmPvTa/TsNZFKnxTcvkX2eszTcCqIrA== } engines: { node: ">=12" } cpu: [arm64] @@ -892,10 +892,10 @@ packages: dev: true optional: true - /@esbuild/linux-ia32/0.16.9: + /@esbuild/linux-ia32/0.16.10: resolution: { - integrity: sha512-zb12ixDIKNwFpIqR00J88FFitVwOEwO78EiUi8wi8FXlmSc3GtUuKV/BSO+730Kglt0B47+ZrJN1BhhOxZaVrw== + integrity: sha512-sqMIEWeyrLGU7J5RB5fTkLRIFwsgsQ7ieWXlDLEmC2HblPYGb3AucD7inw2OrKFpRPKsec1l+lssiM3+NV5aOw== } engines: { node: ">=12" } cpu: [ia32] @@ -904,10 +904,10 @@ packages: dev: true optional: true - /@esbuild/linux-loong64/0.16.9: + /@esbuild/linux-loong64/0.16.10: resolution: { - integrity: sha512-X8te4NLxtHiNT6H+4Pfm5RklzItA1Qy4nfyttihGGX+Koc53Ar20ViC+myY70QJ8PDEOehinXZj/F7QK3A+MKQ== + integrity: sha512-O7Pd5hLEtTg37NC73pfhUOGTjx/+aXu5YoSq3ahCxcN7Bcr2F47mv+kG5t840thnsEzrv0oB70+LJu3gUgchvg== } engines: { node: ">=12" } cpu: [loong64] @@ -916,10 +916,10 @@ packages: dev: true optional: true - /@esbuild/linux-mips64el/0.16.9: + /@esbuild/linux-mips64el/0.16.10: resolution: { - integrity: sha512-ZqyMDLt02c5smoS3enlF54ndK5zK4IpClLTxF0hHfzHJlfm4y8IAkIF8LUW0W7zxcKy7oAwI7BRDqeVvC120SA== + integrity: sha512-FN8mZOH7531iPHM0kaFhAOqqNHoAb6r/YHW2ZIxNi0a85UBi2DO4Vuyn7t1p4UN8a4LoAnLOT1PqNgHkgBJgbA== } engines: { node: ">=12" } cpu: [mips64el] @@ -928,10 +928,10 @@ packages: dev: true optional: true - /@esbuild/linux-ppc64/0.16.9: + /@esbuild/linux-ppc64/0.16.10: resolution: { - integrity: sha512-k+ca5W5LDBEF3lfDwMV6YNXwm4wEpw9krMnNvvlNz3MrKSD2Eb2c861O0MaKrZkG/buTQAP4vkavbLwgIe6xjg== + integrity: sha512-Dg9RiqdvHOAWnOKIOTsIx8dFX9EDlY2IbPEY7YFzchrCiTZmMkD7jWA9UdZbNUygPjdmQBVPRCrLydReFlX9yg== } engines: { node: ">=12" } cpu: [ppc64] @@ -940,10 +940,10 @@ packages: dev: true optional: true - /@esbuild/linux-riscv64/0.16.9: + /@esbuild/linux-riscv64/0.16.10: resolution: { - integrity: sha512-GuInVdogjmg9DhgkEmNipHkC+3tzkanPJzgzTC2ihsvrruLyFoR1YrTGixblNSMPudQLpiqkcwGwwe0oqfrvfA== + integrity: sha512-XMqtpjwzbmlar0BJIxmzu/RZ7EWlfVfH68Vadrva0Wj5UKOdKvqskuev2jY2oPV3aoQUyXwnMbMrFmloO2GfAw== } engines: { node: ">=12" } cpu: [riscv64] @@ -952,10 +952,10 @@ packages: dev: true optional: true - /@esbuild/linux-s390x/0.16.9: + /@esbuild/linux-s390x/0.16.10: resolution: { - integrity: sha512-49wQ0aYkvwXonGsxc7LuuLNICMX8XtO92Iqmug5Qau0kpnV6SP34jk+jIeu4suHwAbSbRhVFtDv75yRmyfQcHw== + integrity: sha512-fu7XtnoeRNFMx8DjK3gPWpFBDM2u5ba+FYwg27SjMJwKvJr4bDyKz5c+FLXLUSSAkMAt/UL+cUbEbra+rYtUgw== } engines: { node: ">=12" } cpu: [s390x] @@ -964,10 +964,10 @@ packages: dev: true optional: true - /@esbuild/linux-x64/0.16.9: + /@esbuild/linux-x64/0.16.10: resolution: { - integrity: sha512-Nx4oKEAJ6EcQlt4dK7qJyuZUoXZG7CAeY22R7rqZijFzwFfMOD+gLP56uV7RrV86jGf8PeRY8TBsRmOcZoG42w== + integrity: sha512-61lcjVC/RldNNMUzQQdyCWjCxp9YLEQgIxErxU9XluX7juBdGKb0pvddS0vPNuCvotRbzijZ1pzII+26haWzbA== } engines: { node: ">=12" } cpu: [x64] @@ -976,10 +976,10 @@ packages: dev: true optional: true - /@esbuild/netbsd-x64/0.16.9: + /@esbuild/netbsd-x64/0.16.10: resolution: { - integrity: sha512-d0WnpgJ+FTiMZXEQ1NOv9+0gvEhttbgKEvVqWWAtl1u9AvlspKXbodKHzQ5MLP6YV1y52Xp+p8FMYqj8ykTahg== + integrity: sha512-JeZXCX3viSA9j4HqSoygjssdqYdfHd6yCFWyfSekLbz4Ef+D2EjvsN02ZQPwYl5a5gg/ehdHgegHhlfOFP0HCA== } engines: { node: ">=12" } cpu: [x64] @@ -988,10 +988,10 @@ packages: dev: true optional: true - /@esbuild/openbsd-x64/0.16.9: + /@esbuild/openbsd-x64/0.16.10: resolution: { - integrity: sha512-jccK11278dvEscHFfMk5EIPjF4wv1qGD0vps7mBV1a6TspdR36O28fgPem/SA/0pcsCPHjww5ouCLwP+JNAFlw== + integrity: sha512-3qpxQKuEVIIg8SebpXsp82OBrqjPV/OwNWmG+TnZDr3VGyChNnGMHccC1xkbxCHDQNnnXjxhMQNyHmdFJbmbRA== } engines: { node: ">=12" } cpu: [x64] @@ -1000,10 +1000,10 @@ packages: dev: true optional: true - /@esbuild/sunos-x64/0.16.9: + /@esbuild/sunos-x64/0.16.10: resolution: { - integrity: sha512-OetwTSsv6mIDLqN7I7I2oX9MmHGwG+AP+wKIHvq+6sIHwcPPJqRx+DJB55jy9JG13CWcdcQno/7V5MTJ5a0xfQ== + integrity: sha512-z+q0xZ+et/7etz7WoMyXTHZ1rB8PMSNp/FOqURLJLOPb3GWJ2aj4oCqFCjPwEbW1rsT7JPpxeH/DwGAWk/I1Bg== } engines: { node: ">=12" } cpu: [x64] @@ -1012,10 +1012,10 @@ packages: dev: true optional: true - /@esbuild/win32-arm64/0.16.9: + /@esbuild/win32-arm64/0.16.10: resolution: { - integrity: sha512-tKSSSK6unhxbGbHg+Cc+JhRzemkcsX0tPBvG0m5qsWbkShDK9c+/LSb13L18LWVdOQZwuA55Vbakxmt6OjBDOQ== + integrity: sha512-+YYu5sbQ9npkNT9Dec+tn1F/kjg6SMgr6bfi/6FpXYZvCRfu2YFPZGb+3x8K30s8eRxFpoG4sGhiSUkr1xbHEw== } engines: { node: ">=12" } cpu: [arm64] @@ -1024,10 +1024,10 @@ packages: dev: true optional: true - /@esbuild/win32-ia32/0.16.9: + /@esbuild/win32-ia32/0.16.10: resolution: { - integrity: sha512-ZTQ5vhNS5gli0KK8I6/s6+LwXmNEfq1ftjnSVyyNm33dBw8zDpstqhGXYUbZSWWLvkqiRRjgxgmoncmi6Yy7Ng== + integrity: sha512-Aw7Fupk7XNehR1ftHGYwUteyJ2q+em/aE+fVU3YMTBN2V5A7Z4aVCSV+SvCp9HIIHZavPFBpbdP3VfjQpdf6Xg== } engines: { node: ">=12" } cpu: [ia32] @@ -1036,10 +1036,10 @@ packages: dev: true optional: true - /@esbuild/win32-x64/0.16.9: + /@esbuild/win32-x64/0.16.10: resolution: { - integrity: sha512-C4ZX+YFIp6+lPrru3tpH6Gaapy8IBRHw/e7l63fzGDhn/EaiGpQgbIlT5paByyy+oMvRFQoxxyvC4LE0AjJMqQ== + integrity: sha512-qddWullt3sC1EIpfHvCRBq3H4g3L86DZpD6n8k2XFjFVyp01D++uNbN1hT/JRsHxTbyyemZcpwL5aRlJwc/zFw== } engines: { node: ">=12" } cpu: [x64] @@ -1670,7 +1670,7 @@ packages: eslint-visitor-keys: 3.3.0 dev: true - /@vitejs/plugin-vue-jsx/3.0.0_vite@4.0.2+vue@3.2.45: + /@vitejs/plugin-vue-jsx/3.0.0_vite@4.0.3+vue@3.2.45: resolution: { integrity: sha512-vurkuzgac5SYuxd2HUZqAFAWGTF10diKBwJNbCvnWijNZfXd+7jMtqjPFbGt7idOJUn584fP1Ar9j/GN2jQ3Ew== @@ -1683,13 +1683,13 @@ packages: "@babel/core": 7.20.5 "@babel/plugin-transform-typescript": 7.20.2_@babel+core@7.20.5 "@vue/babel-plugin-jsx": 1.1.1_@babel+core@7.20.5 - vite: 4.0.2_fgfkqxcefcouvwljpt4dl27fkq + vite: 4.0.3_fgfkqxcefcouvwljpt4dl27fkq vue: 3.2.45 transitivePeerDependencies: - supports-color dev: true - /@vitejs/plugin-vue/4.0.0_vite@4.0.2+vue@3.2.45: + /@vitejs/plugin-vue/4.0.0_vite@4.0.3+vue@3.2.45: resolution: { integrity: sha512-e0X4jErIxAB5oLtDqbHvHpJe/uWNkdpYV83AOG2xo2tEVSzCzewgJMtREZM30wXnM5ls90hxiOtAuVU6H5JgbA== @@ -1699,7 +1699,7 @@ packages: vite: ^4.0.0 vue: ^3.2.25 dependencies: - vite: 4.0.2_fgfkqxcefcouvwljpt4dl27fkq + vite: 4.0.3_fgfkqxcefcouvwljpt4dl27fkq vue: 3.2.45 dev: true @@ -3420,37 +3420,37 @@ packages: requiresBuild: true dev: true - /esbuild/0.16.9: + /esbuild/0.16.10: resolution: { - integrity: sha512-gkH83yHyijMSZcZFs1IWew342eMdFuWXmQo3zkDPTre25LIPBJsXryg02M3u8OpTwCJdBkdaQwqKkDLnAsAeLQ== + integrity: sha512-z5dIViHoVnw2l+NCJ3zj5behdXjYvXne9gL18OOivCadXDUhyDkeSvEtLcGVAJW2fNmh33TDUpsi704XYlDodw== } engines: { node: ">=12" } hasBin: true requiresBuild: true optionalDependencies: - "@esbuild/android-arm": 0.16.9 - "@esbuild/android-arm64": 0.16.9 - "@esbuild/android-x64": 0.16.9 - "@esbuild/darwin-arm64": 0.16.9 - "@esbuild/darwin-x64": 0.16.9 - "@esbuild/freebsd-arm64": 0.16.9 - "@esbuild/freebsd-x64": 0.16.9 - "@esbuild/linux-arm": 0.16.9 - "@esbuild/linux-arm64": 0.16.9 - "@esbuild/linux-ia32": 0.16.9 - "@esbuild/linux-loong64": 0.16.9 - "@esbuild/linux-mips64el": 0.16.9 - "@esbuild/linux-ppc64": 0.16.9 - "@esbuild/linux-riscv64": 0.16.9 - "@esbuild/linux-s390x": 0.16.9 - "@esbuild/linux-x64": 0.16.9 - "@esbuild/netbsd-x64": 0.16.9 - "@esbuild/openbsd-x64": 0.16.9 - "@esbuild/sunos-x64": 0.16.9 - "@esbuild/win32-arm64": 0.16.9 - "@esbuild/win32-ia32": 0.16.9 - "@esbuild/win32-x64": 0.16.9 + "@esbuild/android-arm": 0.16.10 + "@esbuild/android-arm64": 0.16.10 + "@esbuild/android-x64": 0.16.10 + "@esbuild/darwin-arm64": 0.16.10 + "@esbuild/darwin-x64": 0.16.10 + "@esbuild/freebsd-arm64": 0.16.10 + "@esbuild/freebsd-x64": 0.16.10 + "@esbuild/linux-arm": 0.16.10 + "@esbuild/linux-arm64": 0.16.10 + "@esbuild/linux-ia32": 0.16.10 + "@esbuild/linux-loong64": 0.16.10 + "@esbuild/linux-mips64el": 0.16.10 + "@esbuild/linux-ppc64": 0.16.10 + "@esbuild/linux-riscv64": 0.16.10 + "@esbuild/linux-s390x": 0.16.10 + "@esbuild/linux-x64": 0.16.10 + "@esbuild/netbsd-x64": 0.16.10 + "@esbuild/openbsd-x64": 0.16.10 + "@esbuild/sunos-x64": 0.16.10 + "@esbuild/win32-arm64": 0.16.10 + "@esbuild/win32-ia32": 0.16.10 + "@esbuild/win32-x64": 0.16.10 dev: true /escalade/3.1.1: @@ -6409,10 +6409,10 @@ packages: yargs: 17.6.2 dev: true - /rollup/3.7.5: + /rollup/3.8.1: resolution: { - integrity: sha512-z0ZbqHBtS/et2EEUKMrAl2CoSdwN7ZPzL17UMiKN9RjjqHShTlv7F9J6ZJZJNREYjBh3TvBrdfjkFDIXFNeuiQ== + integrity: sha512-4yh9eMW7byOroYcN8DlF9P/2jCpu6txVIHjEqquQVSx7DI0RgyCCN3tjrcy4ra6yVtV336aLBB3v2AarYAxePQ== } engines: { node: ">=14.18.0", npm: ">=8.0.0" } hasBin: true @@ -7380,7 +7380,7 @@ packages: - rollup dev: true - /vite-plugin-compression/0.5.1_vite@4.0.2: + /vite-plugin-compression/0.5.1_vite@4.0.3: resolution: { integrity: sha512-5QJKBDc+gNYVqL/skgFAP81Yuzo9R+EAf19d+EtsMF/i8kFUpNi3J/H01QD3Oo8zBQn+NzoCIFkpPLynoOzaJg== @@ -7391,12 +7391,12 @@ packages: chalk: 4.1.2 debug: 4.3.4 fs-extra: 10.1.0 - vite: 4.0.2_fgfkqxcefcouvwljpt4dl27fkq + vite: 4.0.3_fgfkqxcefcouvwljpt4dl27fkq transitivePeerDependencies: - supports-color dev: true - /vite-plugin-mock/2.9.6_mockjs@1.1.0+vite@4.0.2: + /vite-plugin-mock/2.9.6_mockjs@1.1.0+vite@4.0.3: resolution: { integrity: sha512-/Rm59oPppe/ncbkSrUuAxIQihlI2YcBmnbR4ST1RA2VzM1C0tEQc1KlbQvnUGhXECAGTaQN2JyasiwXP6EtKgg== @@ -7416,7 +7416,7 @@ packages: fast-glob: 3.2.12 mockjs: 1.1.0 path-to-regexp: 6.2.1 - vite: 4.0.2_fgfkqxcefcouvwljpt4dl27fkq + vite: 4.0.3_fgfkqxcefcouvwljpt4dl27fkq transitivePeerDependencies: - rollup - supports-color @@ -7439,10 +7439,10 @@ packages: svgo: 2.8.0 dev: true - /vite/4.0.2_fgfkqxcefcouvwljpt4dl27fkq: + /vite/4.0.3_fgfkqxcefcouvwljpt4dl27fkq: resolution: { - integrity: sha512-QJaY3R+tFlTagH0exVqbgkkw45B+/bXVBzF2ZD1KB5Z8RiAoiKo60vSUf6/r4c2Vh9jfGBKM4oBI9b4/1ZJYng== + integrity: sha512-HvuNv1RdE7deIfQb8mPk51UKjqptO/4RXZ5yXSAvurd5xOckwS/gg8h9Tky3uSbnjYTgUm0hVCet1cyhKd73ZA== } engines: { node: ^14.18.0 || >=16.0.0 } hasBin: true @@ -7468,10 +7468,10 @@ packages: optional: true dependencies: "@types/node": 18.11.14 - esbuild: 0.16.9 + esbuild: 0.16.10 postcss: 8.4.20 resolve: 1.22.1 - rollup: 3.7.5 + rollup: 3.8.1 sass: 1.56.2 terser: 5.16.1 optionalDependencies: diff --git a/src/layout/components/sidebar/sidebarItem.vue b/src/layout/components/sidebar/sidebarItem.vue index c580043..8712f68 100644 --- a/src/layout/components/sidebar/sidebarItem.vue +++ b/src/layout/components/sidebar/sidebarItem.vue @@ -143,7 +143,8 @@ function resolvePath(routePath) { if (httpReg.test(routePath) || httpReg.test(props.basePath)) { return routePath || props.basePath; } else { - return path.resolve(props.basePath, routePath); + // 使用path.posix.resolve替代path.resolve 避免windows环境下使用electron出现盘符问题 + return path.posix.resolve(props.basePath, routePath); } }