dengxuefeng hai 1 ano
pai
achega
031e95c91f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
 }
 /**