luolei 4 年 前
コミット
5960fe15f1
2 ファイル変更1 行追加1 行削除
  1. 1 0
      src/html/login.html
  2. 0 1
      webpack.config.js

+ 1 - 0
src/html/login.html

@@ -4,6 +4,7 @@
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta http-equiv="X-UA-Compatible" content="ie=edge">
+  <link rel="shortcut icon" href="../resource/favicon.ico" type="image/x-icon">
   <title>登录页</title>
 </head>
 <body>

+ 0 - 1
webpack.config.js

@@ -411,7 +411,6 @@ module.exports = {
       chunks: ['login', 'vendor', 'common'],
       hash: true, //防止缓存
       inject: true,
-      favicon: path.resolve('src/resource/favicon.ico'),
       minify: {
         removeAttributeQuotes: true, //压缩 去掉引号
         removeComments: true, //移除HTML中的注释