修复页面加载不出的问题

This commit is contained in:
陈淳
2022-10-13 14:04:48 +08:00
parent edde5f8a88
commit ea4ddb68f3
17 changed files with 122 additions and 52 deletions

View File

@@ -856,7 +856,7 @@
<script setup name="Index">
import useSocketStore from '@/store/modules/socket'
import { ref } from 'vue-demi';
import { ref } from 'vue';
import { storeToRefs } from 'pinia';
const socketStore=useSocketStore();
const {onlineNum}=storeToRefs(socketStore);