We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca66485 commit c0ad385Copy full SHA for c0ad385
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "sub-store-front-end",
3
- "version": "2.14.333",
+ "version": "2.14.334",
4
"private": true,
5
"scripts": {
6
"dev": "vite --host",
src/views/FilePreview.vue
@@ -81,7 +81,11 @@ const processedData = ref('')
81
watchEffect(async () => {
82
if (url) {
83
try {
84
- const response = await axios.get(url as string)
+ const response = await axios.get(url as string, {
85
+ responseType: 'text',
86
+ transformResponse: [(data) => data],
87
+ })
88
+ console.log(typeof response.data)
89
processedData.value = response.data
90
cmStore.setEditCode('filePreview', processedData.value)
91
} catch (error) {
0 commit comments