Li Jun
2022-03-28 5a4de47617b8bc1fa30419b663d7dc365268deea
1
2
3
4
5
6
7
8
9
10
11
12
({
    CreateRecord : function(component, event, helper){
        var files = event.getSource().get("v.files");
        helper.readFile(component,helper,files[0]);
    },
    processFileContent : function(component,event,helper){
        helper.saveRecords(component,event,helper);
    },
    cancel : function(component,event,helper){
        component.set("v.showMain",true);
    }
})