import { defineStore } from 'pinia' export const areaObj = defineStore('counter', { state: () => ({ area: { areaCode: 510524, streetCode: 51052410 } }), getters: {}, actions: { changeArea(obj) { this.area = obj } } })