This commit is contained in:
parent
8d4ea6618f
commit
8a8f1f5a8a
@ -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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user