house
This commit is contained in:
16
src/store/modules/house.ts
Normal file
16
src/store/modules/house.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineStore } from 'pinia';
|
||||
import { reactive } from 'vue';
|
||||
|
||||
export const useHouseStore = defineStore('house', () => {
|
||||
const state = reactive({
|
||||
// 小区信息
|
||||
communityInfo: {},
|
||||
// 楼栋信息
|
||||
houseList: [],
|
||||
// 房屋信息
|
||||
houseInfo: {}
|
||||
});
|
||||
return {
|
||||
state
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user