Browse Source

更新依赖

ZaiZai 1 year ago
parent
commit
8875539d0c
5 changed files with 9 additions and 7 deletions
  1. 1 0
      index.html
  2. 1 1
      package.json
  3. 1 1
      public/version.json
  4. 2 1
      src/App.vue
  5. 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

@@ -18,7 +18,7 @@
         "dayjs": "^1.11.10",
         "echarts": "^5.4.2",
         "element-plus": "^2.5.3",
-        "hc-vue3-ui": "^3.0.0",
+        "hc-vue3-ui": "^3.0.1",
         "js-base64": "^3.7.6",
         "js-cookie": "^3.0.5",
         "js-fast-way": "^0.4.4",

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240201155609"
+  "value": "20240202105452"
 }

+ 2 - 1
src/App.vue

@@ -7,7 +7,7 @@
 <script setup>
 import { nextTick, ref, watch } from 'vue'
 import { useAppStore } from '~src/store'
-import { useOsTheme } from 'hc-vue3-ui'
+import { detectionBrowser, useOsTheme } from 'hc-vue3-ui'
 import { getObjValue, setElementMainColor } from 'js-fast-way'
 import { getStoreValue, setStoreValue } from '~uti/storage'
 import { addDocumentsJs } from '~uti/tools'
@@ -29,6 +29,7 @@ watch(() => [
 })
 
 nextTick(()=> {
+    detectionBrowser()
     window['$split'] = split
     setUserTheme(appStore.getThemeVal, appStore.getColor)
     addDocumentsJs()

+ 4 - 4
yarn.lock

@@ -1324,10 +1324,10 @@ hasown@^2.0.0:
   dependencies:
     function-bind "^1.1.2"
 
-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==
 
 html2canvas@1.4.1:
   version "1.4.1"