Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
9aace871
authored
Jun 21, 2023
by
archer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: ssr
parent
39739f93
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
admin/pnpm-lock.yaml
+0
-0
client/src/pages/_app.tsx
+1
-1
client/src/pages/model/index.tsx
+1
-1
No files found.
admin/pnpm-lock.yaml
View file @
9aace871
This source diff could not be displayed because it is too large. You can
view the blob
instead.
client/src/pages/_app.tsx
View file @
9aace871
...
...
@@ -49,6 +49,7 @@ function App({ Component, pageProps }: AppProps) {
/>
<
link
rel=
"icon"
href=
"/favicon.ico"
/>
</
Head
>
<
Script
src=
"/js/particles.js"
strategy=
"lazyOnload"
></
Script
>
<
Script
src=
"/js/qrcode.min.js"
strategy=
"afterInteractive"
></
Script
>
<
Script
src=
"/js/pdf.js"
strategy=
"afterInteractive"
></
Script
>
<
Script
src=
"/js/html2pdf.bundle.min.js"
strategy=
"afterInteractive"
></
Script
>
...
...
@@ -65,7 +66,6 @@ function App({ Component, pageProps }: AppProps) {
></
Script
>
</>
)
}
<
Script
src=
"/js/particles.js"
></
Script
>
<
QueryClientProvider
client=
{
queryClient
}
>
<
ChakraProvider
theme=
{
theme
}
>
<
ColorModeScript
initialColorMode=
{
theme
.
config
.
initialColorMode
}
/>
...
...
client/src/pages/model/index.tsx
View file @
9aace871
...
...
@@ -10,7 +10,7 @@ import SideBar from '@/components/SideBar';
const
ModelDetail
=
dynamic
(()
=>
import
(
'./components/detail/index'
),
{
loading
:
()
=>
<
Loading
fixed=
{
false
}
/>,
ssr
:
tru
e
ssr
:
fals
e
});
const
Model
=
({
modelId
}:
{
modelId
:
string
})
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment