ggooalice il y a 2 ans
Parent
commit
9799e17a14

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/Expire.vue

@@ -36,7 +36,7 @@ export default {
     },
     mounted() {
       this.versionId = parseInt(window.location.href.split('version=')[1].split('&')[0])
-      this.expDate = window.location.href.split('expDate=')[1]
+      this.expDate = window.location.href.split('expDate=')[1].split('#')[0]
     }
 };
 </script>

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet_h5/src/views/expire/index.vue

@@ -40,7 +40,7 @@ export default {
         this.versionId = parseInt(
             window.location.href.split("version=")[1].split("&")[0]
         );
-        this.expDate = window.location.href.split("expDate=")[1];
+        this.expDate = window.location.href.split("expDate=")[1].split('#')[0];
     },
 };
 </script>