Removed debug logs
This commit is contained in:
@@ -19,7 +19,6 @@ export default {
|
|||||||
response: {
|
response: {
|
||||||
immediate: true,
|
immediate: true,
|
||||||
handler(newValue) {
|
handler(newValue) {
|
||||||
console.log("wetch")
|
|
||||||
this.imageSource = ""
|
this.imageSource = ""
|
||||||
|
|
||||||
const buf = this.response.body
|
const buf = this.response.body
|
||||||
@@ -28,7 +27,6 @@ export default {
|
|||||||
|
|
||||||
const reader = new FileReader()
|
const reader = new FileReader()
|
||||||
reader.onload = (e) => {
|
reader.onload = (e) => {
|
||||||
console.log(e.target.result)
|
|
||||||
this.imageSource = e.target.result
|
this.imageSource = e.target.result
|
||||||
}
|
}
|
||||||
reader.readAsDataURL(blob)
|
reader.readAsDataURL(blob)
|
||||||
@@ -37,17 +35,14 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
console.log("mount")
|
|
||||||
this.imageSource = ""
|
this.imageSource = ""
|
||||||
|
|
||||||
console.log(this.response)
|
|
||||||
const buf = this.response.body
|
const buf = this.response.body
|
||||||
const bytes = new Uint8Array(buf)
|
const bytes = new Uint8Array(buf)
|
||||||
const blob = new Blob([bytes.buffer])
|
const blob = new Blob([bytes.buffer])
|
||||||
|
|
||||||
const reader = new FileReader()
|
const reader = new FileReader()
|
||||||
reader.onload = (e) => {
|
reader.onload = (e) => {
|
||||||
console.log(e.target.result)
|
|
||||||
this.imageSource = e.target.result
|
this.imageSource = e.target.result
|
||||||
}
|
}
|
||||||
reader.readAsDataURL(blob)
|
reader.readAsDataURL(blob)
|
||||||
|
|||||||
Reference in New Issue
Block a user