guhongwei 4 years ago
parent
commit
1a7f12c6eb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      public/index.html

+ 2 - 2
public/index.html

@@ -13,7 +13,7 @@
     </noscript>
     <div id="app"></div>
     <!-- built files will be auto injected -->
-      <!-- <script language=javascript>
+      <script language=javascript>
           // 禁止右键菜单
             document.oncontextmenu = function () { return false; };
             // 禁止文字选择
@@ -24,6 +24,6 @@
             document.oncut = function () { return false; };
             // 禁止粘贴
             document.onpaste = function () { return false; };
-      </script> -->
+      </script>
   </body>
 </html>