chore: 移除AskHello

This commit is contained in:
Junhui Chen 2025-08-06 16:24:17 +08:00
parent 5171ea8b99
commit 998607adc1
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,5 @@
import ReturnArrow from "@/assets/icons/svg/returnArrow.svg";
import Chat from "@/components/ask/chat";
import AskHello from "@/components/ask/hello";
import SendMessage from "@/components/ask/send";
import { ThemedText } from "@/components/ThemedText";
import { fetchApi } from "@/lib/server-api-util";
@ -263,11 +262,11 @@ export default function AskScreen() {
<View style={styles.contentContainer}>
{/* 欢迎页面 */}
<Animated.View
{/* <Animated.View
style={[styles.absoluteView, welcomeStyle, { zIndex: 1 }]}
>
<AskHello setUserMessages={setUserMessages} setConversationId={setConversationId} setIsHello={setIsHello} />
</Animated.View>
</Animated.View> */}
{/* 聊天页面 */}
<Animated.View

View File

@ -24,7 +24,7 @@ export interface PagedResult<T> {
}
// 获取.env文件中的变量
// API 端点 - 从环境变量或 app.json 中获取
export const API_ENDPOINT = process.env.EXPO_PUBLIC_API_ENDPOINT || Constants.expoConfig?.extra?.API_ENDPOINT;