Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
work-order-web
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
张圳龙
work-order-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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1461 additions
and
1480 deletions
+1461
-1480
pnpm-lock.yaml
pnpm-lock.yaml
+1455
-1480
vue.config.js
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 = {
.
rule
(
'svg'
)
.
exclude
.
add
(
resolve
(
'src/icons'
))
.
end
()
.
test
(
/
\.
svg$/
)
.
use
(
'file-loader'
)
.
loader
(
'file-loader'
)
.
options
({
esModule
:
false
// 关键:关闭ES模块模式
})
config
.
module
.
rule
(
'icons'
)
.
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