|
@@ -119,11 +119,6 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
watch: {
|
|
|
- "$store.state.query"() {
|
|
|
- this.value = parseInt(this.$store.state.query[0]);
|
|
|
- this.name = this.$store.state.query[1];
|
|
|
- localStorage.setItem("Overview", [this.value, this.name]);
|
|
|
- },
|
|
|
value(val) {
|
|
|
this.$store.commit("increment", val);
|
|
|
},
|
|
@@ -149,7 +144,6 @@ export default {
|
|
|
) {
|
|
|
this.value = parseInt(getlocal.split(",")[0]);
|
|
|
this.name = getlocal.split(",")[1];
|
|
|
- this.$store.state.query = getlocal.split(",");
|
|
|
}
|
|
|
type === "menu" ? (this.home = true) : (this.home = false);
|
|
|
},
|