Эх сурвалжийг харах

Merge branch 'master' of http://39.108.216.210:3000/web/for_client

duy 1 жил өмнө
parent
commit
7d91b43fa9
5 өөрчлөгдсөн 9 нэмэгдсэн , 7 устгасан
  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

@@ -4,6 +4,7 @@
         <!--script type="text/javascript" src="/plugins/webfunny.js"></script-->
         <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.3",
         "element-plus": "^2.5.3",
-        "hc-vue3-ui": "^3.0.0",
+        "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": "20240131164413"
+  "value": "20240202115619"
 }

+ 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 { getVersionJson } from '~api/other'
@@ -30,6 +30,7 @@ nextTick(() => {
     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.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.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"