Angular DevExtreme文件上载-获取组件中的文件内容
我想使用DevExtreme dxFileUploader上传一个文件,并在组件中处理其内容(不使用服务url) 我使用的是Angular 8.2.2和DevExtreme 19.1。我尝试过用onValueChange事件处理文件,但我只得到文件的属性(文件名、文件大小等),而不是内容本身 app.component.html:Angular DevExtreme文件上载-获取组件中的文件内容,angular,devextreme,Angular,Devextreme,我想使用DevExtreme dxFileUploader上传一个文件,并在组件中处理其内容(不使用服务url) 我使用的是Angular 8.2.2和DevExtreme 19.1。我尝试过用onValueChange事件处理文件,但我只得到文件的属性(文件名、文件大小等),而不是内容本身 app.component.html: app.component.ts: 公共值:任意[]=[]; 进程文件(e){ console.log(this.value);//仅显示文件属性 } 有没有办
app.component.ts:
公共值:任意[]=[];
进程文件(e){
console.log(this.value);//仅显示文件属性
}
有没有办法从dxFileUploader控件访问文件内容