sh-view 2.4.20 → 2.4.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -36,7 +36,7 @@ export default defineComponent({
|
|
|
36
36
|
if (data instanceof Blob) {
|
|
37
37
|
blob = data
|
|
38
38
|
} else if (data instanceof Response) {
|
|
39
|
-
blob =
|
|
39
|
+
blob = data.blob()
|
|
40
40
|
} else if (data instanceof ArrayBuffer) {
|
|
41
41
|
blob = new Blob([data])
|
|
42
42
|
}
|
|
@@ -47,9 +47,7 @@ export default defineComponent({
|
|
|
47
47
|
domRender
|
|
48
48
|
})
|
|
49
49
|
|
|
50
|
-
return
|
|
51
|
-
...useData
|
|
52
|
-
}
|
|
50
|
+
return useData
|
|
53
51
|
}
|
|
54
52
|
})
|
|
55
53
|
</script>
|