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
788ad502
authored
Jul 29, 2026
by
DigHuang
Committed by
GitHub
Jul 29, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(skill): replace image import with static URL path (#7403)
parent
0cee5946
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
projects/app/public/imgs/skill/runtimeUpgradeModalBg.jpg
+0
-0
projects/app/src/pageComponents/dashboard/skill/detail/Content.tsx
+2
-9
No files found.
projects/app/
src/asset
s/skill/runtimeUpgradeModalBg.jpg
→
projects/app/
public/img
s/skill/runtimeUpgradeModalBg.jpg
View file @
788ad502
File moved
projects/app/src/pageComponents/dashboard/skill/detail/Content.tsx
View file @
788ad502
...
@@ -8,7 +8,6 @@ import SandboxEditor from '@/pageComponents/chat/SandboxEditor/Editor';
...
@@ -8,7 +8,6 @@ import SandboxEditor from '@/pageComponents/chat/SandboxEditor/Editor';
import
SandboxError
from
'./config/SandboxError'
;
import
SandboxError
from
'./config/SandboxError'
;
import
{
RightHeader
}
from
'@/pageComponents/dashboard/skill/detail/Header'
;
import
{
RightHeader
}
from
'@/pageComponents/dashboard/skill/detail/Header'
;
import
MyModal
from
'@fastgpt/web/components/v2/common/MyModal'
;
import
MyModal
from
'@fastgpt/web/components/v2/common/MyModal'
;
import
runtimeUpgradeModalBg
from
'@/assets/skill/runtimeUpgradeModalBg.jpg'
;
const
EDIT_DEBUG_CHAT_ID
=
'edit-debug'
;
const
EDIT_DEBUG_CHAT_ID
=
'edit-debug'
;
...
@@ -89,7 +88,7 @@ const Content = () => {
...
@@ -89,7 +88,7 @@ const Content = () => {
<
Box
<
Box
aspectRatio=
{
384
/
223
}
aspectRatio=
{
384
/
223
}
borderRadius=
{
'xs'
}
borderRadius=
{
'xs'
}
bgImage=
{
`url(${runtimeUpgradeModalBg.src})`
}
bgImage=
{
'url(/imgs/skill/runtimeUpgradeModalBg.jpg)'
}
bgSize=
{
'cover'
}
bgSize=
{
'cover'
}
bgPosition=
{
'center'
}
bgPosition=
{
'center'
}
bgRepeat=
{
'no-repeat'
}
bgRepeat=
{
'no-repeat'
}
...
@@ -110,13 +109,7 @@ const Content = () => {
...
@@ -110,13 +109,7 @@ const Content = () => {
{
t
(
'skill:sandbox_runtime_upgrade_desc'
)
}
{
t
(
'skill:sandbox_runtime_upgrade_desc'
)
}
</
Box
>
</
Box
>
{
sandboxError
&&
(
{
sandboxError
&&
(
<
Box
<
Box
color=
{
'red.600'
}
fontSize=
{
'sm'
}
lineHeight=
{
'20px'
}
mt=
{
3
}
whiteSpace=
"pre-wrap"
>
color=
{
'red.600'
}
fontSize=
{
'sm'
}
lineHeight=
{
'20px'
}
mt=
{
3
}
whiteSpace=
"pre-wrap"
>
{
sandboxError
}
{
sandboxError
}
</
Box
>
</
Box
>
)
}
)
}
...
...
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