chore: add NOCOBASE_SYSTEM_SETTINGS to localStorage
This commit is contained in:
parent
f736085af6
commit
893b2d71bc
@ -17,5 +17,9 @@ export const SystemSettingsProvider: React.FC<{ children?: ReactNode }> = (props
|
||||
if (result.loading) {
|
||||
return render();
|
||||
}
|
||||
|
||||
// 主要是为了方便在 e2e 测试中获取到 adminSchemaUid
|
||||
localStorage.setItem('NOCOBASE_SYSTEM_SETTINGS', JSON.stringify(result.data));
|
||||
|
||||
return <SystemSettingsContext.Provider value={result}>{props.children}</SystemSettingsContext.Provider>;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user