Commit 2503b60f authored by tanjuanjuan's avatar tanjuanjuan

修改

parent 5c110150
......@@ -190,9 +190,9 @@
success: function(res) {
const info = JSON.parse(res.data.data)
//store.commit('setPersonInfo', info.body.detail);
personStore.$patch({person:JSON.parse(info.body.detail)})
personStore.person=info.body.detail;
console.log("pinia person")
console.log(personStore.person)
console.log(typeof personStore.person)
//公积金地图
axios.get('https://onemoment.gywb.cn/back/sgy-gjj/gjj/gjjzx', {
params: {
......@@ -202,9 +202,9 @@
}).then(response => {
let data = JSON.parse(response.data.data)
//store.commit('setApartments', data.data);
mapStore.$patch({mapList:JSON.parse(data.data)});
mapStore.mapList=data.data;
console.log("pinia map")
console.log(mapStore.mapList)
console.log(typeof mapStore.mapList)
}).catch(error => {
// 处理错误
console.error('Error fetching data:', error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment