Skip to content

Commit

Permalink
fix: 旧文件类型错误处理
Browse files Browse the repository at this point in the history
  • Loading branch information
humandetail committed Jan 5, 2024
1 parent 61457bf commit bb332ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/Chinese-chess/src/components/ChatContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
</template>

<script setup lang="ts">
import { Message, Room, User } from '@/types'
import { Room, User } from '@/types'
const emits = defineEmits<(e: 'game:chat', msg: string) => void>()
const msgListRef = ref<HTMLUListElement | null>(null)
const message = inject('message', ref<Message[]>([]))
const message = inject('message', ref<any[]>([]))
const currentRoom = inject('currentRoom', ref<Room | null>(null))
const currentUser = inject('currentUser', ref<User | null>(null))
Expand Down

0 comments on commit bb332ed

Please sign in to comment.