ストリーミングが不安定な問題を修正
This commit is contained in:
@ -46,7 +46,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { defineComponent, markRaw } from 'vue';
|
||||
import XNavFolder from './drive.nav-folder.vue';
|
||||
import XFolder from './drive.folder.vue';
|
||||
import XFile from './drive.file.vue';
|
||||
@ -139,7 +139,7 @@ export default defineComponent({
|
||||
});
|
||||
}
|
||||
|
||||
this.connection = os.stream.useChannel('drive');
|
||||
this.connection = markRaw(os.stream.useChannel('drive'));
|
||||
|
||||
this.connection.on('fileCreated', this.onStreamDriveFileCreated);
|
||||
this.connection.on('fileUpdated', this.onStreamDriveFileUpdated);
|
||||
|
Reference in New Issue
Block a user