mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 10:28:42 +00:00
4.8.11 test fix (#2746)
* fix: refresh tool param * perf: load image message * fix: cannot remoce externalReadUrl * perf: variables update dom * perf: empty response tip * fix: conflict
This commit is contained in:
@@ -19,8 +19,12 @@ type LoginStoreType = { provider: `${OAuthEnum}`; lastRoute: string; state: stri
|
||||
type State = {
|
||||
initd: boolean;
|
||||
setInitd: () => void;
|
||||
|
||||
lastRoute: string;
|
||||
setLastRoute: (e: string) => void;
|
||||
lastAppListRouteType?: string;
|
||||
setLastAppListRouteType: (e?: string) => void;
|
||||
|
||||
loginStore?: LoginStoreType;
|
||||
setLoginStore: (e: LoginStoreType) => void;
|
||||
loading: boolean;
|
||||
@@ -67,6 +71,12 @@ export const useSystemStore = create<State>()(
|
||||
state.lastRoute = e;
|
||||
});
|
||||
},
|
||||
lastAppListRouteType: undefined,
|
||||
setLastAppListRouteType(e) {
|
||||
set((state) => {
|
||||
state.lastAppListRouteType = e;
|
||||
});
|
||||
},
|
||||
loginStore: undefined,
|
||||
setLoginStore(e) {
|
||||
set((state) => {
|
||||
|
Reference in New Issue
Block a user