|
@@ -56,7 +56,8 @@ export default {
|
|
|
mounted() {
|
|
|
this.$emit("update:timerTime", 60);
|
|
|
this.init = true;
|
|
|
- let cardReader = this.$route.query.cardReader;
|
|
|
+ let cardReader =
|
|
|
+ this.$route.query.cardReader || this.$route.query.cardreader;
|
|
|
if (cardReader && cardReader == "hd") {
|
|
|
this.readHdReader();
|
|
|
} else {
|
|
@@ -204,6 +205,8 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
home() {
|
|
|
+ clearInterval(this.timer);
|
|
|
+ this.timer = null;
|
|
|
this.$emit("update:timerTime", -1);
|
|
|
this.$emit("update:nowPage", {
|
|
|
page: "index",
|