fix(client): チャットが見れない

Fix #8203
This commit is contained in:
syuilo
2022-01-27 17:55:11 +09:00
parent 779bd244a6
commit e5d56a7cfe
2 changed files with 4 additions and 3 deletions

View File

@@ -24,7 +24,7 @@
<script lang="ts">
import { defineComponent, defineAsyncComponent } from 'vue';
import insertTextAtCursor from 'insert-text-at-cursor';
import * as autosize from 'autosize';
import autosize from 'autosize';
import { formatTimeString } from '@/scripts/format-time-string';
import { selectFile } from '@/scripts/select-file';
import * as os from '@/os';
@@ -76,7 +76,8 @@ export default defineComponent({
autosize(this.$refs.text);
// TODO: detach when unmount
new Autocomplete(this.$refs.text, this, { model: 'text' });
// TODO
//new Autocomplete(this.$refs.text, this, { model: 'text' });
// 書きかけの投稿を復元
const draft = JSON.parse(localStorage.getItem('message_drafts') || '{}')[this.draftKey];