liushengqiang 1 rok pred
rodič
commit
63b2b20e3d
1 zmenil súbory, kde vykonal 4 pridanie a 2 odobranie
  1. 4 2
      dist/index.html

+ 4 - 2
dist/index.html

@@ -5,13 +5,15 @@
   <meta charset="UTF-8">
   <link rel="icon" href="./favicon.ico" />
   <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
-  <meta http-equiv="Cache-control" content="no-cache">
+  <meta http-equiv="Cache-control" content="no-cache, must-revalidate">
   <meta http-equiv="Cache" content="no-cache">
+  <meta http-equiv="pragma" CONTENT="no-cache">
+  <meta http-equiv="expires" CONTENT="0">
   <title>制谱</title>
   <script>
     window.addEventListener('error', function (event) {
       if (event.target.tagName === 'SCRIPT' && event.target.src.indexOf('assets/index') > -1) {
-        var  total = sessionStorage.getItem('SCRIPT_ERROR')
+        var total = sessionStorage.getItem('SCRIPT_ERROR')
         total = Number(total) || 0
         total = total + 1
         sessionStorage.setItem('SCRIPT_ERROR', total)