This commit is contained in:
@ -289,6 +289,10 @@ const app = new Vue({
|
|||||||
},
|
},
|
||||||
import_data:function(){
|
import_data:function(){
|
||||||
this.journey_data = Object.assign({}, JSON.parse(toDecoded(this.impexp)));
|
this.journey_data = Object.assign({}, JSON.parse(toDecoded(this.impexp)));
|
||||||
|
this.journey_data.main.forEach(e=>{
|
||||||
|
e.dateRange[0] = new Date(e.dateRange[0]);
|
||||||
|
e.dateRange[1] = new Date(e.dateRange[1]);
|
||||||
|
})
|
||||||
},
|
},
|
||||||
export_data:function(){
|
export_data:function(){
|
||||||
this.impexp = toEncoded(JSON.stringify(this.journey_data));
|
this.impexp = toEncoded(JSON.stringify(this.journey_data));
|
||||||
|
Reference in New Issue
Block a user