|
@@ -219,6 +219,7 @@
|
|
|
import { onMounted, ref } from 'vue'
|
|
|
import router from '~src/router/index'
|
|
|
import { useAppStore } from '~src/store'
|
|
|
+import { getStore, setStore } from 'hc-vue3-ui'
|
|
|
import bgPng from '~src/assets/images/datav-bg.png'
|
|
|
import png2 from '~src/assets/images/datav-2.png'
|
|
|
import HcDatavSelect from './modules/select.vue'
|
|
@@ -226,6 +227,7 @@ import HcDatavCard from './modules/card.vue'
|
|
|
import HcDatavTable1 from './modules/table1.vue'
|
|
|
import HcDatavTable2 from './modules/table2.vue'
|
|
|
import HcDatavCharts from './modules/charts.vue'
|
|
|
+import { isNullES } from 'js-fast-way'
|
|
|
|
|
|
const store = useAppStore()
|
|
|
|
|
@@ -235,14 +237,18 @@ const searchRef = ref(null)
|
|
|
const tourOpen = ref(false)
|
|
|
|
|
|
onMounted(() => {
|
|
|
- /*setTimeout(() => {
|
|
|
- tourOpen.value = true
|
|
|
- }, 500)*/
|
|
|
+ const isTourOpen = getStore('isTourOpen')
|
|
|
+ if (isNullES(isTourOpen)) {
|
|
|
+ setTimeout(() => {
|
|
|
+ tourOpen.value = true
|
|
|
+ }, 500)
|
|
|
+ }
|
|
|
})
|
|
|
|
|
|
//关闭引导提示
|
|
|
const tourFinishClose = () => {
|
|
|
console.log('关闭引导提示')
|
|
|
+ setStore('isTourOpen', true)
|
|
|
}
|
|
|
|
|
|
//搜索表单
|