소스 검색

删除title

gaoshuaixing 3 년 전
부모
커밋
303df4608a
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 0
      electron/config/config.default.js
  2. 2 2
      frontend/public/index.html

+ 1 - 0
electron/config/config.default.js

@@ -47,6 +47,7 @@ module.exports = (appInfo) => {
    * 主窗口
    */
   config.windowsOption = {
+    title: 'EE框架',
     width: 980,
     height: 650,
     minWidth: 800,

+ 2 - 2
frontend/public/index.html

@@ -4,7 +4,7 @@
     <meta charset="utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
-    <title><%= htmlWebpackPlugin.options.title %></title>
+    <title></title>
     <style>
       /* 滚动条 */
       ::-webkit-scrollbar{width:8px;height:4px}
@@ -17,7 +17,7 @@
   </head>
   <body>
     <noscript>
-      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
+      <strong>We're sorry but it doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
     </noscript>
     <div id="app"></div>
   </body>