|
@@ -394,11 +394,15 @@ export default {
|
|
|
};
|
|
|
this.destination.push(obj);
|
|
|
});
|
|
|
+ this.destination.sort(this.up)
|
|
|
}
|
|
|
} catch (error) {
|
|
|
console.log(error);
|
|
|
}
|
|
|
},
|
|
|
+ up(x,y){
|
|
|
+ return x.lable.charCodeAt(0) - y.lable.charCodeAt(0)
|
|
|
+ },
|
|
|
change() {
|
|
|
let param = JSON.parse(JSON.stringify(this.queryData));
|
|
|
param.places = param.places[0];
|