feat: 联调登录+对话
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<HomePage
|
||||
v-if="showHomePage"
|
||||
@open-settings="returnToSettings"
|
||||
@open-profile="emit('open-profile')"
|
||||
@open-profile="openProfile"
|
||||
/>
|
||||
<view v-else class="config-page">
|
||||
<view class="phone-frame">
|
||||
@@ -100,6 +100,7 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, onMounted, onUnmounted, reactive, ref } from 'vue'
|
||||
import HomePage from '../home/home.vue'
|
||||
import { createProfileOpener } from '../../api/navigation'
|
||||
import {
|
||||
MOCK_CONFIG_OPTIONS,
|
||||
fetchConfigOptions,
|
||||
@@ -142,6 +143,8 @@ const emit = defineEmits<{
|
||||
(event: 'open-profile'): void
|
||||
}>()
|
||||
|
||||
const openProfile = createProfileOpener(emit)
|
||||
|
||||
let typingTimer: ReturnType<typeof setTimeout> | null = null
|
||||
let toastTimer: ReturnType<typeof setTimeout> | null = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user