|
@@ -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) {
|