Removed debug logs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user