fix: update placeholder and error message

This commit is contained in:
zimplexing
2025-07-26 14:50:53 +08:00
parent 89b5f1df9d
commit 8ea588617d
2 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ export const APIConfigSection = forwardRef<APIConfigSectionRef, APIConfigSection
style={[styles.input, isInputFocused && styles.inputFocused]}
value={apiBaseUrl}
onChangeText={handleUrlChange}
placeholder="输入 API 地址"
placeholder="输入服务器地址"
placeholderTextColor="#888"
autoCapitalize="none"
autoCorrect={false}

View File

@@ -147,7 +147,7 @@ const useHomeStore = create<HomeState>((set, get) => ({
}
} catch (err: any) {
if (err.message === "API_URL_NOT_SET") {
set({ error: "请点击右上角设置按钮,配置您的 API 地址" });
set({ error: "请点击右上角设置按钮,配置您的服务器地址" });
} else {
set({ error: "加载失败,请重试" });
}