Browse Source

Merge branch 'startLogin'

mo 1 year ago
parent
commit
d2b82daaf7
2 changed files with 2 additions and 2 deletions
  1. 2 1
      index.html
  2. 0 1
      src/components/RouterError/index.tsx

+ 2 - 1
index.html

@@ -11,7 +11,8 @@
   <meta http-equiv="Cache" content="no-cache">
   <meta http-equiv="pragram" content="no-cache">
   <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate">
-  <meta http-equiv="pragram" content="no-cache">
+  <meta http-equiv="pragma" content="no-cache">
+  <meta http-equiv="expires" content="0">
   <meta name="viewport" content="width=device-width,initial-scale=1.0">
   <meta name="apple-mobile-web-app-capable" content="yes" />
   <!-- 设置苹果工具栏颜色 -->

+ 0 - 1
src/components/RouterError/index.tsx

@@ -19,7 +19,6 @@ export default defineComponent({
       const isChunkLoadFailed = str.indexOf('imported');
       console.log(error, to)
       // const targetPath = router.history.pending.fullPath
-
       if (isChunkLoadFailed != -1 && !refreshing) {
         refreshing = true;
         console.log('onError刷新');