ZaiZai пре 1 година
родитељ
комит
58e61d612c
4 измењених фајлова са 8 додато и 6 уклоњено
  1. 1 0
      index.html
  2. 1 1
      package.json
  3. 2 1
      src/App.vue
  4. 4 4
      yarn.lock

+ 1 - 0
index.html

@@ -3,6 +3,7 @@
     <head>
         <meta charset="UTF-8" />
         <link rel="icon" href="/favicon.ico" />
+        <meta http-equiv="X-UA-Compatible" content="requiresActiveX=true" />
         <meta name="viewport" content="width=device-width, initial-scale=1.0" />
         <link rel="stylesheet" href="/plugins/element-plus/index.css" />
         <link rel="stylesheet" href="/plugins/element-plus/theme-chalk/dark/css-vars.css" />

+ 1 - 1
package.json

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

+ 2 - 1
src/App.vue

@@ -7,7 +7,7 @@
 <script setup>
 import { nextTick, ref, watch } from 'vue'
 import { useAppStore } from '~src/store'
-import { getAppVersion, useOsTheme } from 'hc-vue3-ui'
+import { detectionBrowser, getAppVersion, useOsTheme } from 'hc-vue3-ui'
 import { getObjValue, setElementMainColor } from 'js-fast-way'
 import split from 'split.js'
 
@@ -26,6 +26,7 @@ watch(() => [
 })
 
 nextTick(() => {
+    detectionBrowser()
     setUserTheme(appStore.getThemeVal, appStore.getColor)
     //生产环境下,检测更新
     if (import.meta.env.PROD) {

+ 4 - 4
yarn.lock

@@ -1867,10 +1867,10 @@ has-flag@^4.0.0:
   resolved "http://39.108.216.210:9000/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
   integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
 
-hc-vue3-ui@^3.0.0:
-  version "3.0.0"
-  resolved "http://39.108.216.210:9000/hc-vue3-ui/-/hc-vue3-ui-3.0.0.tgz#09e3c9af20802058ba22aa1e0c5f8f65c6d48803"
-  integrity sha512-Y149vcuoq7xRVq5bsonpLm4x8lm1vmp1mOsyW4iSUrWWMK9pxRboXLFjlQf/xr96SqJ5H5lmic5rczO918qGlg==
+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==
 
 human-signals@^2.1.0:
   version "2.1.0"