diff --git a/.env.development b/.env.development index 90d1146..b5306f2 100644 --- a/.env.development +++ b/.env.development @@ -2,7 +2,7 @@ VITE_PORT = 8848 # 开发环境读取配置文件路径 -VITE_PUBLIC_PATH = / +VITE_PUBLIC_PATH = ./ # 开发环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数") VITE_ROUTER_HISTORY = "hash" diff --git a/.env.production b/.env.production index 84e6086..ecfb549 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 线上环境平台打包路径 -VITE_PUBLIC_PATH = / +VITE_PUBLIC_PATH = ./ # 线上环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数") VITE_ROUTER_HISTORY = "hash" diff --git a/.env.staging b/.env.staging index 65b57e3..00db0cc 100644 --- a/.env.staging +++ b/.env.staging @@ -2,7 +2,7 @@ # https://cn.vitejs.dev/guide/env-and-mode.html#modes # NODE_ENV = development -VITE_PUBLIC_PATH = / +VITE_PUBLIC_PATH = ./ # 预发布环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数") VITE_ROUTER_HISTORY = "hash" diff --git a/package.json b/package.json index 48affb0..bc49f03 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "dependencies": { "@pureadmin/descriptions": "^1.1.1", "@pureadmin/table": "^2.3.2", - "@pureadmin/utils": "^1.9.3", + "@pureadmin/utils": "^1.9.4", "@vueuse/core": "^10.1.2", "@vueuse/motion": "^2.0.0", "animate.css": "^4.1.1", @@ -60,7 +60,7 @@ "@iconify-icons/ri": "^1.2.8", "@iconify/vue": "^4.1.1", "@intlify/unplugin-vue-i18n": "^0.11.0", - "@pureadmin/theme": "^3.0.0", + "@pureadmin/theme": "^3.1.0", "@types/js-cookie": "^3.0.3", "@types/mockjs": "^1.0.7", "@types/node": "^20.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ce589bc..f3fccf8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ specifiers: "@intlify/unplugin-vue-i18n": ^0.11.0 "@pureadmin/descriptions": ^1.1.1 "@pureadmin/table": ^2.3.2 - "@pureadmin/theme": ^3.0.0 - "@pureadmin/utils": ^1.9.3 + "@pureadmin/theme": ^3.1.0 + "@pureadmin/utils": ^1.9.4 "@types/js-cookie": ^3.0.3 "@types/mockjs": ^1.0.7 "@types/node": ^20.3.1 @@ -89,7 +89,7 @@ specifiers: dependencies: "@pureadmin/descriptions": 1.1.1_element-plus@2.3.6 "@pureadmin/table": 2.3.2_element-plus@2.3.6 - "@pureadmin/utils": 1.9.3_echarts@5.4.2+vue@3.3.4 + "@pureadmin/utils": 1.9.4_echarts@5.4.2+vue@3.3.4 "@vueuse/core": 10.1.2_vue@3.3.4 "@vueuse/motion": 2.0.0_vue@3.3.4 animate.css: 4.1.1 @@ -102,14 +102,14 @@ dependencies: mockjs: 1.1.0 nprogress: 0.2.0 path: 0.12.7 - pinia: 2.1.3_typescript@5.0.4+vue@3.3.4 + pinia: 2.1.4_typescript@5.0.4+vue@3.3.4 qs: 6.11.2 responsive-storage: 2.2.0 sortablejs: 1.15.0 vue: 3.3.4 vue-i18n: 9.2.2_vue@3.3.4 vue-router: 4.2.2_vue@3.3.4 - vue-types: 5.0.3_vue@3.3.4 + vue-types: 5.0.4_vue@3.3.4 devDependencies: "@commitlint/cli": 17.6.5 @@ -118,7 +118,7 @@ devDependencies: "@iconify-icons/ri": 1.2.8 "@iconify/vue": 4.1.1_vue@3.3.4 "@intlify/unplugin-vue-i18n": 0.11.0_vue-i18n@9.2.2 - "@pureadmin/theme": 3.0.0 + "@pureadmin/theme": 3.1.0 "@types/js-cookie": 3.0.3 "@types/mockjs": 1.0.7 "@types/node": 20.3.1 @@ -1595,21 +1595,21 @@ packages: vue: 3.3.4 dev: false - /@pureadmin/theme/3.0.0: + /@pureadmin/theme/3.1.0: resolution: { - integrity: sha512-1qs0fve9DY4XgI5xafTd9qRPuWSo2QGON7avBqKSSSjXpCbo2BOccsH6qh5N2BxVBVZQJBYZoMq3bAUdK2Q0Jw== + integrity: sha512-3kBbqB6Uua096w91w1SrGna0dM8AYO5HFk/HU8G0DsEaijgRrm+dYIJUrqbv+stLUxlYPNVXpDS/APZjF0cOAg== } dependencies: "@zougt/some-loader-utils": 1.4.3 - fs-extra: 10.1.0 + fs-extra: 11.1.1 string-hash: 1.1.3 dev: true - /@pureadmin/utils/1.9.3_echarts@5.4.2+vue@3.3.4: + /@pureadmin/utils/1.9.4_echarts@5.4.2+vue@3.3.4: resolution: { - integrity: sha512-2sAen4puE67Bb4YYH+8Gm9qDfQtpX1hQNg6T87wune5nRrDTXpiD0pyCP7owaLJrwPnbiUbBUHVvSEXN/VYKqQ== + integrity: sha512-OfIjGFl8IWXvnR5VMbIDTKcgLQ5bEPbmIMUjwUxaMQS5MGRKf/7dGJunP2zkU2l/QFOU5MmXuytOibykVL9cpw== } peerDependencies: echarts: "*" @@ -2753,7 +2753,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001503 - electron-to-chromium: 1.4.430 + electron-to-chromium: 1.4.431 node-releases: 2.0.12 update-browserslist-db: 1.0.11_browserslist@4.21.8 @@ -3793,10 +3793,10 @@ packages: } dev: true - /electron-to-chromium/1.4.430: + /electron-to-chromium/1.4.431: resolution: { - integrity: sha512-FytjTbGwz///F+ToZ5XSeXbbSaXalsVRXsz2mHityI5gfxft7ieW3HqFLkU5V1aIrY42aflICqbmFoDxW10etg== + integrity: sha512-m232JTVmCawA2vG+1azVxhKZ9Sv1Q//xxNv5PkP5rWxGgQE8c3CiZFrh8Xnp+d1NmNxlu3QQrGIfdeW5TtXX5w== } /element-plus/2.3.6_vue@3.3.4: @@ -6490,10 +6490,10 @@ packages: engines: { node: ">=0.10.0" } dev: true - /pinia/2.1.3_typescript@5.0.4+vue@3.3.4: + /pinia/2.1.4_typescript@5.0.4+vue@3.3.4: resolution: { - integrity: sha512-XNA/z/ye4P5rU1pieVmh0g/hSuDO98/a5UC8oSP0DNdvt6YtetJNHTrXwpwsQuflkGT34qKxAEcp7lSxXNjf/A== + integrity: sha512-vYlnDu+Y/FXxv1ABo1vhjC+IbqvzUdiUC3sfDRrRyY2CQSrqqaa+iiHmqtARFxJVqWQMCJfXx1PBvFs9aJVLXQ== } peerDependencies: "@vue/composition-api": ^1.4.0 @@ -9319,10 +9319,10 @@ packages: typescript: 5.0.4 dev: true - /vue-types/5.0.3_vue@3.3.4: + /vue-types/5.0.4_vue@3.3.4: resolution: { - integrity: sha512-7+yOUXlRrpkJ4mtgmB6nIfDYLdLmxHQ/IMZR3hsEziYnHK4Y/Rf+rlCIg1rwNnlbyTiDf4v/vz1LEumo3RgwrQ== + integrity: sha512-ksYUQpvhk1Xl/K43OPkcm54VcX4tvxQoNYjYLk+n45NOocDsg9+DnviPq/KfDLjGs4P23iAosFPR8JSzuh9IPA== } engines: { node: ">=14.0.0" } peerDependencies: