You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
666 B
23 lines
666 B
export interface State {
|
|
shopList: Readonly<Shop[]> //店铺列表
|
|
buildingList: Building[] //楼栋列表
|
|
columnList: Featured[] //推荐页的卡片
|
|
facilityList: Facility[] //设施列表
|
|
language: Language //语言 zh: 简体中文 en: 英文 tw: 繁体中文
|
|
config: Config //配置文件
|
|
mapStatus: boolean //地图加载是否成功
|
|
currentFloor: CurrentFloor //当前设备信息
|
|
shop: Shop //店铺信息
|
|
}
|
|
|
|
export const state = (): State => ({
|
|
shopList: [],
|
|
buildingList: [],
|
|
columnList: [],
|
|
facilityList: [],
|
|
language: 'zh',
|
|
config: {} as Config,
|
|
mapStatus: false,
|
|
currentFloor: {} as CurrentFloor,
|
|
shop: {} as Shop
|
|
})
|
|
|