mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-24 13:53:50 +00:00
feat: config login tip
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"show_register": false,
|
||||
"show_appStore": false,
|
||||
"show_userDetail": false,
|
||||
"show_loginTip": false,
|
||||
"show_git": true,
|
||||
"systemTitle": "FastGPT",
|
||||
"authorText": "Made by FastGPT Team.",
|
||||
|
@@ -99,7 +99,7 @@ const Login = () => {
|
||||
>
|
||||
<DynamicComponent type={pageType} />
|
||||
|
||||
{feConfigs?.show_register && (
|
||||
{feConfigs?.show_loginTip && (
|
||||
<Box
|
||||
fontSize={'sm'}
|
||||
color={'myGray.600'}
|
||||
|
@@ -50,7 +50,7 @@ export const useGlobalStore = create<State>()(
|
||||
state.isPc = val;
|
||||
});
|
||||
},
|
||||
gitStar: 2700,
|
||||
gitStar: 3700,
|
||||
async loadGitStar() {
|
||||
try {
|
||||
const { data: git } = await axios.get('https://api.github.com/repos/labring/FastGPT');
|
||||
|
1
client/src/types/index.d.ts
vendored
1
client/src/types/index.d.ts
vendored
@@ -19,6 +19,7 @@ export type FeConfigsType = {
|
||||
show_register?: boolean;
|
||||
show_appStore?: boolean;
|
||||
show_userDetail?: boolean;
|
||||
show_loginTip?: boolean;
|
||||
show_git?: boolean;
|
||||
systemTitle?: string;
|
||||
authorText?: string;
|
||||
|
Reference in New Issue
Block a user