涂煌豪
2022-03-18 fbf3ce2885477fd0dfbd8ec6b490636dc0f680dc
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);
    }
})