Răsfoiți Sursa

更新依赖

ZaiZai 1 an în urmă
părinte
comite
59463bc468
4 a modificat fișierele cu 7 adăugiri și 7 ștergeri
  1. 1 1
      package.json
  2. 1 1
      public/version.json
  3. 1 1
      src/App.vue
  4. 4 4
      yarn.lock

+ 1 - 1
package.json

@@ -18,7 +18,7 @@
         "dayjs": "^1.11.10",
         "echarts": "^5.4.3",
         "element-plus": "^2.5.3",
-        "hc-vue3-ui": "^3.0.1",
+        "hc-vue3-ui": "^3.0.3",
         "js-base64": "^3.7.6",
         "js-fast-way": "0.4.4",
         "js-md5": "^0.8.3",

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240202105520"
+  "value": "20240202115619"
 }

+ 1 - 1
src/App.vue

@@ -27,10 +27,10 @@ watch(() => [
 })
 
 nextTick(() => {
-    detectionBrowser()
     setUserTheme(appStore.getThemeVal, appStore.getColor)
     //生产环境下,检测更新
     if (import.meta.env.PROD && appStore.isSource !== 'app') {
+        detectionBrowser()
         getVersionJsonApi()
         //检测新版本
         setInterval(() => {

+ 4 - 4
yarn.lock

@@ -1319,10 +1319,10 @@ hasown@^2.0.0:
   dependencies:
     function-bind "^1.1.2"
 
-hc-vue3-ui@^3.0.1:
-  version "3.0.1"
-  resolved "http://39.108.216.210:9000/hc-vue3-ui/-/hc-vue3-ui-3.0.1.tgz#ecf3a4473e515d72a43127b7623b95d55fae2de5"
-  integrity sha512-dKLQg6+Exs61MtNhyCFFN+NYv4MEH4uSJdbfG3afgrccY40lYOBuILJ/EEFKLZMsjF1cngThTcKeElChQAQqow==
+hc-vue3-ui@^3.0.3:
+  version "3.0.3"
+  resolved "http://39.108.216.210:9000/hc-vue3-ui/-/hc-vue3-ui-3.0.3.tgz#8f997a7742becc840677fc24c6143a019ea332ff"
+  integrity sha512-zXp/WANd+2Zx6gfYG3oN92/Y9chbILG4GON17p/ozzMvFWcizxcLO0FRDD0CPvplDrLtBAVM0atxrICkgdWxrw==
 
 html2canvas@1.4.1:
   version "1.4.1"