@ -13,6 +13,8 @@
display: inline-block;
}
.file-uploads.file-uploads-html4 input[type="file"], .file-uploads.file-uploads-html5 label {
/* background fix ie click */
background: #fff;
opacity: 0;
font-size: 20em;
z-index: 1;
@ -25,6 +27,8 @@
height: 100%;
.file-uploads.file-uploads-html5 input[type="file"], .file-uploads.file-uploads-html4 label {
background: rgba(255, 255, 255, 0);
overflow: hidden;
position: fixed;
width: 1px;
@ -15,8 +15,11 @@
export default {
methods: {
change(e) {
this.$destroy()
this.$parent.addInputFile(e.target)
e.target.value = ''
if (!e.target.files) {
// ie9 fix #219
// eslint-disable-next-line
new this.constructor({
parent: this.$parent,
@ -25,4 +28,5 @@ export default {
</script>