Browse Source

chore: update

i18n
xiaoxian521 2 years ago
parent
commit
f2cf1d0af7
  1. 2
      package.json
  2. 192
      pnpm-lock.yaml
  3. 3
      src/layout/components/sidebar/sidebarItem.vue

2
package.json

@ -103,7 +103,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",

192
pnpm-lock.yaml

@ -69,7 +69,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
@ -123,8 +123,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[email protected].2[email protected]
"@vitejs/plugin-vue-jsx": 3.0[email protected].2[email protected]
"@vitejs/plugin-vue": 4.0[email protected].3[email protected]
"@vitejs/plugin-vue-jsx": 3.0[email protected].3[email protected]
"@vue/eslint-config-prettier": 7.0.0_wdw3qg4p7crmsoaizcyntelyni
"@vue/eslint-config-typescript": 11.0.2_4ajq2belonl3hwwudzbg7tkiqi
autoprefixer: 10.4[email protected]
@ -157,10 +157,10 @@ devDependencies:
terser: 5.16.1
typescript: 4.9.4
unplugin-vue-define-options: 1.1[email protected]
vite: 4.0.2_6g6dzlvfpurinkjyb4fszcwwoi
vite: 4.0.3_6g6dzlvfpurinkjyb4fszcwwoi
vite-plugin-cdn-import: 0.3.5
vite-plugin-compression: 0.5[email protected].2
vite-plugin-mock: 2.9[email protected][email protected].2
vite-plugin-compression: 0.5[email protected].3
vite-plugin-mock: 2.9[email protected][email protected].3
vite-plugin-remove-console: 1.3.0
vite-svg-loader: 3.6.0
vue-eslint-parser: 9.1[email protected]
@ -788,10 +788,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]
@ -800,10 +800,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]
@ -812,10 +812,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]
@ -824,10 +824,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]
@ -836,10 +836,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]
@ -848,10 +848,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]
@ -860,10 +860,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]
@ -872,10 +872,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]
@ -884,10 +884,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]
@ -896,10 +896,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]
@ -908,10 +908,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]
@ -920,10 +920,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]
@ -932,10 +932,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]
@ -944,10 +944,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]
@ -956,10 +956,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]
@ -968,10 +968,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]
@ -980,10 +980,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]
@ -992,10 +992,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]
@ -1004,10 +1004,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]
@ -1016,10 +1016,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]
@ -1028,10 +1028,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]
@ -1040,10 +1040,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]
@ -1169,8 +1169,8 @@ packages:
vue-i18n:
optional: true
dependencies:
"@intlify/message-compiler": 9.3.0-beta.10
"@intlify/shared": 9.3.0-beta.10
"@intlify/message-compiler": 9.3.0-beta.11
"@intlify/shared": 9.3.0-beta.11
jsonc-eslint-parser: 1.4.1
source-map: 0.6.1
vue-i18n: 9.2[email protected]
@ -1208,14 +1208,14 @@ packages:
"@intlify/shared": 9.2.2
source-map: 0.6.1
/@intlify/message-compiler/9.3.0-beta.10:
/@intlify/message-compiler/9.3.0-beta.11:
resolution:
{
integrity: sha512-RoOC6yceOykLRhN0NlbkNOBUx1el6iphx3W8NfOx3jHVNtfT1FYokx14/5sU3F1F0uxeG4sp6q+ppKvaF8o+ww==
integrity: sha512-gGGfBGzM7JBXp1Q9gbDAy5jELz9ho3ILqnpxp2yp64+gkqohrqc2YXIvCdwZoc6AtKIh/Zmv4sWVqxkvMsBWtQ==
}
engines: { node: ">= 14" }
dependencies:
"@intlify/shared": 9.3.0-beta.10
"@intlify/shared": 9.3.0-beta.11
source-map: 0.6.1
dev: true
@ -1226,10 +1226,10 @@ packages:
}
engines: { node: ">= 14" }
/@intlify/shared/9.3.0-beta.10:
/@intlify/shared/9.3.0-beta.11:
resolution:
{
integrity: sha512-h93uAanbAt/XgjDHclrVB7xix6r7Uz11wx0iGNOCdHP7aA2LCJjUT3uNbekJjjbo+Fl5jzTSJZdm2SexzoqhRA==
integrity: sha512-CtbotesxTRiC3bRyXyv1NG39fkqJ790f8z8xFaeIXSZpOdiyxoh5BIyypCzSFQZDGLwz0Q9gyWbW1XpxQJm68Q==
}
engines: { node: ">= 14" }
dev: true
@ -1253,7 +1253,7 @@ packages:
optional: true
dependencies:
"@intlify/bundle-utils": 3.4[email protected]
"@intlify/shared": 9.3.0-beta.10
"@intlify/shared": 9.3.0-beta.11
"@rollup/pluginutils": 4.2.1
"@vue/compiler-sfc": 3.2.45
debug: 4.3.4
@ -1799,7 +1799,7 @@ packages:
eslint-visitor-keys: 3.3.0
dev: true
/@vitejs/plugin-vue-jsx/[email protected].2[email protected]:
/@vitejs/plugin-vue-jsx/[email protected].3[email protected]:
resolution:
{
integrity: sha512-vurkuzgac5SYuxd2HUZqAFAWGTF10diKBwJNbCvnWijNZfXd+7jMtqjPFbGt7idOJUn584fP1Ar9j/GN2jQ3Ew==
@ -1812,13 +1812,13 @@ packages:
"@babel/core": 7.20.5
"@babel/plugin-transform-typescript": 7.20.2_@[email protected]
"@vue/babel-plugin-jsx": 1.1.1_@[email protected]
vite: 4.0.2_6g6dzlvfpurinkjyb4fszcwwoi
vite: 4.0.3_6g6dzlvfpurinkjyb4fszcwwoi
vue: 3.2.45
transitivePeerDependencies:
- supports-color
dev: true
/@vitejs/plugin-vue/[email protected].2[email protected]:
/@vitejs/plugin-vue/[email protected].3[email protected]:
resolution:
{
integrity: sha512-e0X4jErIxAB5oLtDqbHvHpJe/uWNkdpYV83AOG2xo2tEVSzCzewgJMtREZM30wXnM5ls90hxiOtAuVU6H5JgbA==
@ -1828,7 +1828,7 @@ packages:
vite: ^4.0.0
vue: ^3.2.25
dependencies:
vite: 4.0.2_6g6dzlvfpurinkjyb4fszcwwoi
vite: 4.0.3_6g6dzlvfpurinkjyb4fszcwwoi
vue: 3.2.45
dev: true
@ -3559,37 +3559,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:
@ -6599,10 +6599,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
@ -7570,7 +7570,7 @@ packages:
- rollup
dev: true
/vite-plugin-compression/[email protected].2:
/vite-plugin-compression/[email protected].3:
resolution:
{
integrity: sha512-5QJKBDc+gNYVqL/skgFAP81Yuzo9R+EAf19d+EtsMF/i8kFUpNi3J/H01QD3Oo8zBQn+NzoCIFkpPLynoOzaJg==
@ -7581,12 +7581,12 @@ packages:
chalk: 4.1.2
debug: 4.3.4
fs-extra: 10.1.0
vite: 4.0.2_6g6dzlvfpurinkjyb4fszcwwoi
vite: 4.0.3_6g6dzlvfpurinkjyb4fszcwwoi
transitivePeerDependencies:
- supports-color
dev: true
/vite-plugin-mock/[email protected][email protected].2:
/vite-plugin-mock/[email protected][email protected].3:
resolution:
{
integrity: sha512-/Rm59oPppe/ncbkSrUuAxIQihlI2YcBmnbR4ST1RA2VzM1C0tEQc1KlbQvnUGhXECAGTaQN2JyasiwXP6EtKgg==
@ -7606,7 +7606,7 @@ packages:
fast-glob: 3.2.12
mockjs: 1.1.0
path-to-regexp: 6.2.1
vite: 4.0.2_6g6dzlvfpurinkjyb4fszcwwoi
vite: 4.0.3_6g6dzlvfpurinkjyb4fszcwwoi
transitivePeerDependencies:
- rollup
- supports-color
@ -7629,10 +7629,10 @@ packages:
svgo: 2.8.0
dev: true
/vite/4.0.2_6g6dzlvfpurinkjyb4fszcwwoi:
/vite/4.0.3_6g6dzlvfpurinkjyb4fszcwwoi:
resolution:
{
integrity: sha512-QJaY3R+tFlTagH0exVqbgkkw45B+/bXVBzF2ZD1KB5Z8RiAoiKo60vSUf6/r4c2Vh9jfGBKM4oBI9b4/1ZJYng==
integrity: sha512-HvuNv1RdE7deIfQb8mPk51UKjqptO/4RXZ5yXSAvurd5xOckwS/gg8h9Tky3uSbnjYTgUm0hVCet1cyhKd73ZA==
}
engines: { node: ^14.18.0 || >=16.0.0 }
hasBin: true
@ -7658,10 +7658,10 @@ packages:
optional: true
dependencies:
"@types/node": 18.11.15
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:

3
src/layout/components/sidebar/sidebarItem.vue

@ -144,7 +144,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.resolvepath.resolve windows使electron
return path.posix.resolve(props.basePath, routePath);
}
}
</script>

Loading…
Cancel
Save