СК
он попросил меня поднять head().. выше computed - сделал... а ошибка остается и номера строк указывает старые... чо за дела?
видимо подвис плагин в редакторе или ide, попробуйте :
ctrl+a, ctrl+x, ctrl+s, ctrl+v, ctrl+s
Size: a a a
СК
R
СК
R
AK
СК
СК
AK
this.$router.push({ path: this.$route.path, query: { lang: this.ACTIVE_LANGUAGE.value, cur: this.ACTIVE_CURRENCY.value } });
AK
AK
this.$router.push({ path: this.$route.path, query: { lang: this.ACTIVE_LANGUAGE.value, cur: this.ACTIVE_CURRENCY.value } });
AK
watch: {
ACTIVE_LANGUAGE() {
this.$router.push({ path: this.$route.path, query: { lang: this.ACTIVE_LANGUAGE.value, cur: this.ACTIVE_CURRENCY.value } });
this.$i18n.locale = this.ACTIVE_LANGUAGE.value;
},
ACTIVE_CURRENCY() {
this.$router.push({ path: this.$route.path, query: { lang: this.ACTIVE_LANGUAGE.value, cur: this.ACTIVE_CURRENCY.value } });
}
},
СК
СК
AK
AK
watch: {
ACTIVE_LANGUAGE() {
this.$router.push({ path: this.$route.path, query: { lang: this.ACTIVE_LANGUAGE.value, cur: this.ACTIVE_CURRENCY.value } });
this.$i18n.locale = this.ACTIVE_LANGUAGE.value;
},
ACTIVE_CURRENCY() {
this.$router.push({ path: this.$route.path, query: { lang: this.ACTIVE_LANGUAGE.value, cur: this.ACTIVE_CURRENCY.value } });
}
},
СК
AK
watch: {
queryString() {
this.$i18n.locale = this.ACTIVE_LANGUAGE.value;
},
$route(from, to) {
this.setOldUrlPath(to);
this.$router.push({ query: { lang: this.ACTIVE_LANGUAGE.value, cur: this.ACTIVE_CURRENCY.value } });
}
}
AK
СК
watch: {
queryString() {
this.$i18n.locale = this.ACTIVE_LANGUAGE.value;
},
$route(from, to) {
this.setOldUrlPath(to);
this.$router.push({ query: { lang: this.ACTIVE_LANGUAGE.value, cur: this.ACTIVE_CURRENCY.value } });
}
}
СК