chore: 移除AskHello
This commit is contained in:
parent
5171ea8b99
commit
998607adc1
@ -1,6 +1,5 @@
|
|||||||
import ReturnArrow from "@/assets/icons/svg/returnArrow.svg";
|
import ReturnArrow from "@/assets/icons/svg/returnArrow.svg";
|
||||||
import Chat from "@/components/ask/chat";
|
import Chat from "@/components/ask/chat";
|
||||||
import AskHello from "@/components/ask/hello";
|
|
||||||
import SendMessage from "@/components/ask/send";
|
import SendMessage from "@/components/ask/send";
|
||||||
import { ThemedText } from "@/components/ThemedText";
|
import { ThemedText } from "@/components/ThemedText";
|
||||||
import { fetchApi } from "@/lib/server-api-util";
|
import { fetchApi } from "@/lib/server-api-util";
|
||||||
@ -263,11 +262,11 @@ export default function AskScreen() {
|
|||||||
|
|
||||||
<View style={styles.contentContainer}>
|
<View style={styles.contentContainer}>
|
||||||
{/* 欢迎页面 */}
|
{/* 欢迎页面 */}
|
||||||
<Animated.View
|
{/* <Animated.View
|
||||||
style={[styles.absoluteView, welcomeStyle, { zIndex: 1 }]}
|
style={[styles.absoluteView, welcomeStyle, { zIndex: 1 }]}
|
||||||
>
|
>
|
||||||
<AskHello setUserMessages={setUserMessages} setConversationId={setConversationId} setIsHello={setIsHello} />
|
<AskHello setUserMessages={setUserMessages} setConversationId={setConversationId} setIsHello={setIsHello} />
|
||||||
</Animated.View>
|
</Animated.View> */}
|
||||||
|
|
||||||
{/* 聊天页面 */}
|
{/* 聊天页面 */}
|
||||||
<Animated.View
|
<Animated.View
|
||||||
|
|||||||
@ -24,7 +24,7 @@ export interface PagedResult<T> {
|
|||||||
}
|
}
|
||||||
// 获取.env文件中的变量
|
// 获取.env文件中的变量
|
||||||
|
|
||||||
|
// API 端点 - 从环境变量或 app.json 中获取
|
||||||
export const API_ENDPOINT = process.env.EXPO_PUBLIC_API_ENDPOINT || Constants.expoConfig?.extra?.API_ENDPOINT;
|
export const API_ENDPOINT = process.env.EXPO_PUBLIC_API_ENDPOINT || Constants.expoConfig?.extra?.API_ENDPOINT;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user