diff --git a/src/components/Minder/minder.vue b/src/components/Minder/minder.vue index 5afc72d..723c0e0 100644 --- a/src/components/Minder/minder.vue +++ b/src/components/Minder/minder.vue @@ -148,7 +148,8 @@ export default { id: this.file.id, fileName: this.file.name, path: encodeURI(this.file.path), - username: this.$store.state.user.name + username: this.$store.state.user.name, + content: true, }).then((res) => { this.file.path = res.data.path if (res.data.contentText && res.data.contentText.length > 1) { diff --git a/src/components/office/Drawio.vue b/src/components/office/Drawio.vue index ffcd42b..7df6e31 100644 --- a/src/components/office/Drawio.vue +++ b/src/components/office/Drawio.vue @@ -79,7 +79,8 @@ export default { id: this.file.id, fileName: this.file.name, path: encodeURI(this.file.path), - username: this.$store.state.user.name + username: this.$store.state.user.name, + content: true, }).then((res) => { this.file.path = res.data.path this.xml = res.data.contentText diff --git a/src/components/preview/SimTextPreview.vue b/src/components/preview/SimTextPreview.vue index 2667cf8..e29e945 100644 --- a/src/components/preview/SimTextPreview.vue +++ b/src/components/preview/SimTextPreview.vue @@ -126,6 +126,7 @@