Commit Graph

103 Commits (9116ae75f6787fa60075776c2b3f2df478a2c424)

Author SHA1 Message Date
高奕GaoYi 9116ae75f6
fix "clearFiles" to avoid clear "uploadFiles" errors in uploading multiple files
## 修复clearFiles方法,避免同时上传多个文件时,清除uploadFiles列表,导致正在上传中的文件再上传完成后产生报错的问题

## Machine Translation:
Repair the clearfiles method to avoid clearing the uploadfiles list when multiple files are uploaded at the same time, resulting in an error message after the files being uploaded are uploaded again
2019-12-25 10:18:00 +08:00
Victor Zhuk 002adf462f Upload: add capability to customize thumbnail template (#13192) 2019-06-24 17:33:04 +08:00
Harlan 5ae443a408 Upload: optimize code (#13973) 2019-02-15 16:36:24 +08:00
HarlanLuo c3e8b77d47 Upload: add url prop to upload file when list-type changed (#13771) 2018-12-17 10:30:13 +08:00
hetech 0de8a032c0
Upload: use uid as upload-list key (#13054)
* Upload: use uid as upload-list key

* chore: fix code style
2018-10-15 17:06:45 +08:00
hetech b7be905b1d
Upload: create blob URL when picture displays (#12402)
* Upload: create blob URL when picture displays

* Update index.vue
2018-09-10 10:59:55 +08:00
hetech 465dcf2a19 Chore: retire lerna and remove redundant files (#11493)
* Chore: retire lerna and delete redundant files

* Chore: update Makefile
2018-06-05 19:27:13 +08:00
hetech 7df9a1e38c Test: add some test cases (#11485) 2018-06-05 13:31:15 +08:00
陈润山 2a1a6360ca Upload: fix Error when `beforeUpload` hook return promise of file object (#11297)
* Upload: fix beforeUpload hook bug

* Upload: add ElUploadInternalRawFile interface
2018-05-23 11:23:00 +08:00
Fengyuan Chen 117f731f6e Upload: fix a TypeError when upload a processed file from the `beforeUpload` hook (#11210)
* Upload: add filename

Reference: https://developer.mozilla.org/en-US/docs/Web/API/FormData/append

* Upload: add name and uid properties to processedFile to fix an error

* Update upload.vue
2018-05-18 14:00:06 +08:00
杨奕 6f4f57172b
Upload: fix duplicated handleClick due to keydown bubbling (#10624) 2018-04-09 17:05:25 +08:00
杨奕 3ede818e41
Upload: filter accepted file types in dragger (#10278) 2018-03-21 11:56:30 +08:00
相学长 fa00fcfbf9 Upload: fix default status of fileList (#6571) 2018-02-16 19:47:41 +08:00
阿林 ad07722aab Chore: replace var with let and const (#9774) 2018-02-11 16:37:58 +08:00
Leopoldthecoder 56dc51bc85 Form: add disabled 2018-01-29 18:14:58 +08:00
cinwell.li be3dcbfc4c chore: update ESLint (#9124)
* chore: update ESLint

* chore: update eslint ignore
2018-01-05 16:53:02 +08:00
Leopoldthecoder c69adb0458 publish independent packages 2017-12-20 11:52:49 +08:00
Leopoldthecoder 4a7f3c82ad Chore: misc updates 2017-12-15 16:45:15 +08:00
wangshaobo 79b4cb42d2 Revise with review comments. 2017-12-13 11:17:00 +08:00
wangshaobo 4fe557b5e8 upload: add before-remove hook function 2017-12-13 11:17:00 +08:00
Leopoldthecoder c0c0e728ca Changelog: update for 2.0.4 2017-11-10 16:33:02 +08:00
Leopoldthecoder 9553e1edba Chore: misc fixes and updates 2017-11-02 14:01:58 +08:00
Div 06112e51da upload: Increase support for Blob types 2017-11-01 15:58:11 +08:00
Leopoldthecoder 5d6a7b6f9c Upload: fix icons in list type 2017-10-31 10:09:17 +08:00
杨奕 38459ae850 update dependencies (#7476)
* update el-input change event

* upgrade to vue 2.5.0

* upgrade webpack to 3.7

* upgrade vue to 2.5.2

* minor style updates
2017-10-16 14:07:24 +08:00
Black Wayne 5426c957a2 add upload limit & form validate return promise (#7405)
* Carbon: upload limit & input append & form validate promise

* Update upload.md

* Update upload.md

* Update index.js
2017-10-12 03:07:50 -05:00
maranran d66473f005 add accessibility for input & rate & collapse & progress & upload (#7196) 2017-09-29 02:58:07 -05:00
杨奕 21c579179c remove theme-default (#7273) 2017-09-28 05:01:29 -05:00
Leopoldthecoder 9f9629d2bb Upload: fix handleRemove param error 2017-09-18 05:11:49 -05:00
thegatheringstorm 4d2fac6f60 Upload: convert var to const and let 2017-09-16 07:33:25 -05:00
thegatheringstorm 6e3f46a500 Upload: convert map to forEach 2017-09-15 04:07:13 -05:00
Leopoldthecoder ee03e3b851 Upload: remove delete icon when disabled 2017-07-27 20:35:30 +08:00
James Wragg e79557a30b Upload: correct documentation 2017-07-21 13:32:08 +08:00
杨奕 2bba39ce2e Upload: fix against non-primitive key warn in Vue 2.4 (#5872)
* Upload: fix against non-primitive key warn in Vue 2.4

* update horizontal menu test
2017-07-15 17:14:40 +08:00
Leopoldthecoder c8442ac3c9 Upload: remove delete icon when disabled 2017-07-15 16:41:42 +08:00
baiyaaaaa 5536efab5c clear inptu value when uploader click 2017-07-05 17:29:06 +08:00
baiyaaaaa 0c121434e0 fix input value is null before upload submit actually 2017-06-03 16:08:19 +08:00
baiyaaaaa 17e2d458ae fix uploading style bug 2017-05-04 13:56:21 +08:00
baiyaaaaa b295e1b972 support upload abort 2017-05-03 14:16:35 +08:00
baiyaaaaa 09cb7049a8 fix preview when auto-upload is false 2017-05-02 11:33:35 +08:00
baiyaaaaa fec489ec7b fix upload can't select the same file 2017-04-27 11:45:39 +08:00
baiyaaaaa 74f01254b7 invoke on-change hook when file select 2017-04-25 22:27:19 +08:00
baiyaaaaa b1d74460d9 add disabled feature 2017-04-25 19:08:32 +08:00
Leopoldthecoder 1c4ff99508 Tree: fix registerNode error when nodeKey is 0 2017-04-24 13:44:27 +08:00
baiyaaaaa bcbd94f460 fix upload file remove can't remove when auto-upload is false 2017-04-16 21:02:11 +08:00
Konstantin Azarov 9c21be25e7 Ensure inner el-upload uses name attribute (#3940)
In order to avoid confusion when posting the form using regular non-xhr requests.
Also do not clear input value after `handleChange` event.
2017-04-08 11:37:05 +08:00
sunlei33 5eef48b97e Form: 如果需要验证的fields为空,调用验证时立刻返回callback (#3944)
* Form: 如果需要验证的fields为空,调用验证时立刻返回callback
同时修复几个代码格式用来通过npm run dist

* fix travis

* fix travis

* fix travis
2017-04-01 14:06:23 +08:00
81ba7084e3 Add support for httpRequest Promise (#3389)
* Add support for httpRequest Promise

添加支持httpRequest Promise

* fixbug

* fixbug
2017-04-01 11:05:27 +08:00
baiyaaaaa fdac5519d2 fix upload docs typo bug 2017-03-20 12:56:34 +08:00
baiyaaaaa 8523865056 fix file not remote when before-upload reject 2017-03-20 11:56:56 +08:00