update pay ui
This commit is contained in:
@@ -142,6 +142,7 @@ const subscriptionSlice = createSlice({
|
||||
// fetchSubscriptionInfo - rejected
|
||||
.addCase(fetchSubscriptionInfo.rejected, (state, action) => {
|
||||
state.loading = false;
|
||||
state.loaded = true; // 即使失败也标记为已加载,避免无限重试
|
||||
state.error = action.payload || 'Unknown error';
|
||||
// 加载失败时保持当前状态,不重置为免费版
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user