张宇恒
2022-04-06 d9f996d01b56c8ecf76116316da7686621f4f91f
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);
    }
})