From 2953ba17c3af1b4800d8ca7b5b13147316a871b8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 26 Jul 2021 11:12:06 +0900 Subject: ストリーミングが不安定な問題を修正 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/init.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/init.ts') diff --git a/src/client/init.ts b/src/client/init.ts index d1c408bb77..e6b308c5fb 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -6,7 +6,7 @@ import '@client/style.scss'; import * as Sentry from '@sentry/browser'; import { Integrations } from '@sentry/tracing'; -import { computed, createApp, watch } from 'vue'; +import { computed, createApp, watch, markRaw } from 'vue'; import widgets from '@client/widgets'; import directives from '@client/directives'; @@ -282,7 +282,7 @@ if ($i) { } } - const main = stream.useChannel('main', null, 'System'); + const main = markRaw(stream.useChannel('main', null, 'System')); // 自分の情報が更新されたとき main.on('meUpdated', i => { -- cgit v1.2.3-freya