feat:对接首页地图异常提示数据
This commit is contained in:
@@ -95,6 +95,17 @@ export const useHomeStore = defineStore('home', () => {
|
||||
// 酒店数据
|
||||
let hotelData = ref(null)
|
||||
|
||||
// 异常消息提醒
|
||||
let notifyInfo = ref([
|
||||
{ name: '安全异常', value: 0 },
|
||||
{ name: '排队异常', value: 0 },
|
||||
{ name: '停车异常', value: 0 },
|
||||
{ name: '舆论异常', value: 0 }
|
||||
])
|
||||
|
||||
const setNotifyInfo = (val) => {
|
||||
notifyInfo.value = val
|
||||
}
|
||||
const setVisitorInfoList = (val) => {
|
||||
visitorInfoList.value = val
|
||||
}
|
||||
@@ -148,6 +159,8 @@ export const useHomeStore = defineStore('home', () => {
|
||||
carStopInfoData,
|
||||
carShipData,
|
||||
hotelData,
|
||||
notifyInfo,
|
||||
setNotifyInfo,
|
||||
setScenicData,
|
||||
setUserPortraitData,
|
||||
setBaiduMapData,
|
||||
|
||||
Reference in New Issue
Block a user