cost 89 ms
Angular Ng2-file-Upload Upload.all() 没有上传文件到 API - Angular Ng2-file-Upload Upload.all() not uploading file to API

我正在尝试上传文件 mp4 和 jpg 扩展名,我有 2 个单独的 Fileuploader 实例,对 2 个单独的 FileUploader 施加了一些自定义验证,我有一个上传按钮,上传按钮的 onclick 正在将 2 个 FileUploader 中的文件推送到单个 FileUploader ...

如何提交输入数据以及 ng2 文件上传 angular ionic - how to submit input data along with ng2 file upload angular ionic

请我想以角度离子发送一些带有文件上传(ng2文件上传)的文本数据。 我也是 angular 和 ionic 的新手。 我尝试了很多选择,但似乎没有出路。 我使用 PHP 作为后端。我只能发送文件,但不能发送用户名等输入数据。 同时,我能够在控制台上记录用户名的输入数据,但服务器响应为空。 它永远不会 ...

ng2-file-upload, new FileUpload() 在使用 *ngFor 循环时不会为其他组件创建新实例 - ng2-file-upload, new FileUpload() does not create new instance for an additional component, when looping with *ngFor

我有多种格式,我循环(使用 ngFor)来创建新组件。 每个组件都有通过构造函数(new FileUploader())实现的 ng2-file-upload。 但是,如果我添加一个新文件并显示它,它也会添加/显示在其他组件的上传器上,这不应该是这种情况。 错过了什么? https://stack ...

如何上传照片 (ng2-file-upload) Angular 无法读取未定义的属性“推送” - How to upload photo (ng2-file-upload) Angular cannot read property 'push' of undefined

我正在尝试为 Recipe 上传新照片,这有点奏效。 照片正在上传,但我在控制台中出错,要查看新照片,我必须刷新浏览器。 我使用 asp.net core 作为模型和控制器,使用 angular 作为视图如何解决这个问题? 成分 html 如果上传正常,为什么会出现此错误 ...

Angular ng2-file-upload 输入文件过滤器不适用于 Internet Explorer 中的 PNG - Angular ng2-file-upload Input File Filter not working for PNG in Internet Explorer

我正在使用 ng2-file-upload 中的文件上传器,并带有文件类型限制。 但是,每次我使用 Internet Explorer 11 选择 png 文件时,它都不会添加到队列中。 所有其他允许的文件类型都在工作。 这是带有文件选项的代码: let uploadOptions: ...

使用 ng2-file-upload 异步上传文件 - Asynchronous upload File with ng2-file-upload

我正在使用ng2-file-upload模块上传大文件。 上传是通过编码为 java 的后端完成的由于这些文件的导入需要相当长的时间,前后端之间创建的 http 连接使 nginx 服务器超时退出。 如何以异步方式使用ng2-file-upload模块? 到目前为止,我已经以这种方式实例化了 Fil ...

从 que 中删除后,ng2 文件上传不允许我添加相同的文档 - ng2 file upload not allowing me to add same doc after I've removed it from que

我在使用ng2-file-upload 时遇到了一个小问题,我试图阻止用户两次上传/使用同一个文件。 意思是,将相同的文件添加到队列但尚未上传)。 所以我可以添加这样的文档 this.uploader = new FileUploader({ url: this.baseUrl + ...

Angular 6 或更高版本中的文件上传功能/库 - File upload feature/library in Angular 6 or above

寻找一个兼容 Angular 6 或更高版本的免费/开源文件上传库来上传 csv 文件和其他文件扩展名,并得到开发人员的良好支持和维护。 此外,还支持上传大型 csv 文件(最多 200 万条记录)和与后端代码 (C# .NET) 高效交互等用例。 到目前为止,已经评估了“ng2-file-uplo ...

如何在 angular 中适当更改 ng2-file-uploader 的文件名 - How to appropriately change the filename for ng2-file-uploader in angular

我想通过 ng2-file-uploader 更改 angular 中的图像名称,然后将其传递给我的 node.js 中的 multer。 一切正常。 我能够接收到图像,并且它存储在服务器端的上传目录中。 只是我不知道在哪里更改图像名称。 我在 onCompleteItem 方法中尝试过,但没有。 ...

ng2-file-upolad-是否有验证文件名长度的方法? - ng2-file-upolad - Is there a way to validate file name length?

我正在使用ng2-file-upload在我需要帮助的地方,据我的客户说,他正在尝试将文件名限制为1024字符。 他从文件名生成超链接。 当页面名称长度超过1024个字符时,我想设置一个错误。 正确的方法是什么? 我正在使用onWhenAddingFileFailed方法。 如 ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM