Revert eslintrc changes
This commit is contained in:
parent
b458b2ae5f
commit
546ba9eba9
2 changed files with 2 additions and 8 deletions
|
@ -5,7 +5,7 @@ import 'cropperjs/dist/cropper.css'
|
|||
const ImageCropper = {
|
||||
props: {
|
||||
trigger: {
|
||||
type: [String, Element],
|
||||
type: [String, window.Element],
|
||||
required: true
|
||||
},
|
||||
cropperOptions: {
|
||||
|
@ -74,7 +74,7 @@ const ImageCropper = {
|
|||
readFile () {
|
||||
const fileInput = this.$refs.input
|
||||
if (fileInput.files != null && fileInput.files[0] != null) {
|
||||
let reader = new FileReader()
|
||||
let reader = new window.FileReader()
|
||||
reader.onload = (e) => {
|
||||
this.dataUrl = e.target.result
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue