全屏
This commit is contained in:
@@ -2,6 +2,7 @@ import { ref } from 'vue'
|
||||
import { defineStore } from 'pinia'
|
||||
|
||||
export const useHomeStore = defineStore('home', () => {
|
||||
let amplify = ref(true)
|
||||
// 景区信息数据
|
||||
let scenicData = ref({
|
||||
scenicSpot: [
|
||||
@@ -110,7 +111,9 @@ export const useHomeStore = defineStore('home', () => {
|
||||
{ name: '停车异常', value: 0 },
|
||||
{ name: '舆论异常', value: 0 }
|
||||
])
|
||||
|
||||
const setAmplify = (val)=>{
|
||||
amplify.value = val
|
||||
}
|
||||
const setNotifyInfo = (val) => {
|
||||
notifyInfo.value = val
|
||||
}
|
||||
@@ -158,6 +161,7 @@ export const useHomeStore = defineStore('home', () => {
|
||||
userPortraitData.value = val
|
||||
}
|
||||
return {
|
||||
amplify,
|
||||
trainData,
|
||||
setTrainData,
|
||||
scenicData,
|
||||
@@ -187,6 +191,7 @@ export const useHomeStore = defineStore('home', () => {
|
||||
setTrafficInfoData,
|
||||
setCarStopInfoData,
|
||||
setCarShipData,
|
||||
setHotelData
|
||||
setHotelData,
|
||||
setAmplify,
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user