- fix scelta provincia (il bottone Avanti non veniva disabilitato).
- Se non scelgo la provincia, non deve farmi vedere la App...
This commit is contained in:
@@ -2069,5 +2069,17 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
tools.setCookie('EDITPAGES', edit ? '-1' : '0')
|
||||
},
|
||||
|
||||
getGeoJsonByProvince(prov: string) {
|
||||
const usertosend = {
|
||||
prov,
|
||||
}
|
||||
// console.log(usertosend)
|
||||
|
||||
return Api.SendReq('/city/geojson', 'POST', usertosend)
|
||||
.then((res) => {
|
||||
return res.data ? res.data.ris : []
|
||||
})
|
||||
},
|
||||
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user