|
|
|
|
@ -537,7 +537,7 @@ export default {
|
|
|
|
|
try {
|
|
|
|
|
const res = await this.$u.api.area()
|
|
|
|
|
this.areaList = res.list
|
|
|
|
|
this.groupArea = res.list?.reduce((acc, item) => {
|
|
|
|
|
this.groupArea = res.list?.filter(i => i.group)?.reduce((acc, item) => {
|
|
|
|
|
const key = item.group;
|
|
|
|
|
if (!acc[key]) {
|
|
|
|
|
acc[key] = [];
|
|
|
|
|
|