Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
ferry_web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jianan
ferry_web
Commits
8f55cc25
Commit
8f55cc25
authored
Mar 19, 2025
by
lanyulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 更新 svg 图片加载失败问题。
parent
af7fa6f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
pnpm-lock.yaml
+0
-0
vue.config.js
+6
-0
No files found.
pnpm-lock.yaml
View file @
8f55cc25
This source diff could not be displayed because it is too large. You can
view the blob
instead.
vue.config.js
View file @
8f55cc25
...
@@ -56,6 +56,12 @@ module.exports = {
...
@@ -56,6 +56,12 @@ module.exports = {
.
rule
(
'svg'
)
.
rule
(
'svg'
)
.
exclude
.
add
(
resolve
(
'src/icons'
))
.
exclude
.
add
(
resolve
(
'src/icons'
))
.
end
()
.
end
()
.
test
(
/
\.
svg$/
)
.
use
(
'file-loader'
)
.
loader
(
'file-loader'
)
.
options
({
esModule
:
false
// 关键:关闭ES模块模式
})
config
.
module
config
.
module
.
rule
(
'icons'
)
.
rule
(
'icons'
)
.
test
(
/
\.
svg$/
)
.
test
(
/
\.
svg$/
)
...
...
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