Removed debug logs
This commit is contained in:
parent
a41b6be185
commit
cb059a141f
1 changed files with 0 additions and 5 deletions
|
|
@ -19,7 +19,6 @@ export default {
|
|||
response: {
|
||||
immediate: true,
|
||||
handler(newValue) {
|
||||
console.log("wetch")
|
||||
this.imageSource = ""
|
||||
|
||||
const buf = this.response.body
|
||||
|
|
@ -28,7 +27,6 @@ export default {
|
|||
|
||||
const reader = new FileReader()
|
||||
reader.onload = (e) => {
|
||||
console.log(e.target.result)
|
||||
this.imageSource = e.target.result
|
||||
}
|
||||
reader.readAsDataURL(blob)
|
||||
|
|
@ -37,17 +35,14 @@ export default {
|
|||
},
|
||||
|
||||
mounted() {
|
||||
console.log("mount")
|
||||
this.imageSource = ""
|
||||
|
||||
console.log(this.response)
|
||||
const buf = this.response.body
|
||||
const bytes = new Uint8Array(buf)
|
||||
const blob = new Blob([bytes.buffer])
|
||||
|
||||
const reader = new FileReader()
|
||||
reader.onload = (e) => {
|
||||
console.log(e.target.result)
|
||||
this.imageSource = e.target.result
|
||||
}
|
||||
reader.readAsDataURL(blob)
|
||||
|
|
|
|||
Loading…
Reference in a new issue