feat: update vc-upload to 2.6.3
parent
4926130aff
commit
2d2bd79f82
|
@ -1,4 +1,4 @@
|
|||
// rc-upload 2.6.2
|
||||
// rc-upload 2.6.3
|
||||
import upload from './src';
|
||||
|
||||
export default upload;
|
||||
|
|
|
@ -67,8 +67,10 @@ const IframeUploader = {
|
|||
// http://stackoverflow.com/questions/12830058/ie8-input-type-file-get-files
|
||||
const file = (this.file = {
|
||||
uid: getUid(),
|
||||
name: target.value,
|
||||
});
|
||||
name:
|
||||
target.value &&
|
||||
target.value.substring(target.value.lastIndexOf('\\') + 1, target.value.length),
|
||||
});;
|
||||
this.startUpload();
|
||||
const { $props: props } = this;
|
||||
if (!props.beforeUpload) {
|
||||
|
|
Loading…
Reference in New Issue