dengxuefeng 1 year ago
parent
commit
031e95c91f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main.ts

+ 1 - 1
src/main.ts

@@ -37,7 +37,7 @@ const vers = window.localStorage.getItem('appVersion');
 console.log(vers, VUE_APP_VERSION, '-+-=-=-=-=');
 if (VUE_APP_VERSION != vers) {
     localStorage.clear();
-    // window.localStorage.setItem('appVersion', VUE_APP_VERSION);
+    window.localStorage.setItem('appVersion', VUE_APP_VERSION.toString());
     location.reload();
 }
 /**