Skip to content

Commit ff82ec0

Browse files
a63149300sendya
authored andcommitted
解决登录页logo.svg不显示BUG
解决img标签src属性显示[object Module]BUG
1 parent 61632de commit ff82ec0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vue.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ const vueConfig = {
7070
.use('file-loader')
7171
.loader('file-loader')
7272
.options({
73-
name: 'assets/[name].[hash:8].[ext]'
73+
name: 'assets/[name].[hash:8].[ext]',
74+
esModule: false
7475
})
7576

7677
// if prod is on

0 commit comments

Comments
 (0)