fix: add disclaimer alert after successful login and update error message

This commit is contained in:
zimplexing
2025-07-26 14:57:51 +08:00
parent 8ea588617d
commit 0f8cc49019
2 changed files with 9 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ const useAuthStore = create<AuthState>((set) => ({
try {
const serverConfig = useSettingsStore.getState().serverConfig;
if (!serverConfig?.StorageType) {
Toast.show({ type: "error", text1: "请检查网络或者 API 地址是否可用" });
Toast.show({ type: "error", text1: "请检查网络或者服务器地址是否可用" });
return
}
const cookies = await Cookies.get(api.baseURL);