feat: 联调登录+对话
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<CasesPage
|
||||
v-if="showCasesPage"
|
||||
@open-settings="emit('open-settings')"
|
||||
@open-profile="emit('open-profile')"
|
||||
@open-profile="openProfile"
|
||||
@go-home="emit('go-home')"
|
||||
/>
|
||||
<view v-else class="matching-page">
|
||||
@@ -70,6 +70,7 @@
|
||||
<script setup lang="ts">
|
||||
import { onMounted, onUnmounted, reactive, ref } from 'vue'
|
||||
import { fetchMatchingProfile, type MatchingProfile } from '../../api/matching'
|
||||
import { createProfileOpener } from '../../api/navigation'
|
||||
import CasesPage from '../cases/cases.vue'
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -78,6 +79,8 @@ const emit = defineEmits<{
|
||||
(event: 'go-home'): void
|
||||
}>()
|
||||
|
||||
const openProfile = createProfileOpener(emit)
|
||||
|
||||
type Particle = {
|
||||
id: number
|
||||
style: Record<string, string>
|
||||
|
||||
Reference in New Issue
Block a user