Minor fixes. Node packages updated.

Minor fixes. Node packages updated.
This commit is contained in:
2021-03-03 21:05:00 +03:00
parent 3cfedc7e08
commit 24eeaca51a
2 changed files with 80 additions and 41 deletions

View File

@@ -239,7 +239,7 @@
this.isLoading = true;
this.axios.get("config.json")
this.axios.get(`config.json?r=${Math.random()}`)
.then(response => {
this.appNet = response.data.AppNet;
this.appName = response.data.AppName;
@@ -249,7 +249,7 @@
console.error(error);
});
this.axios.get("lib/authors.json")
this.axios.get(`lib/authors.json?r=${Math.random()}`)
.then(response => {
this.$refs.Authors.items = response.data;
this.isLoading = false;
@@ -323,7 +323,7 @@
methods: {
fillWikiInfo (searchText, fillAuthorInfo = true) {
this.axios.get("https://" + this.locale.language + ".wikipedia.org/w/api.php", {
this.axios.get(`https://${this.locale.language}.wikipedia.org/w/api.php`, {
params: {
format: "json",
action: "query",
@@ -386,7 +386,7 @@
this.isLoading = true;
this.axios.get(val.book)
this.axios.get(`${val.book}?r=${Math.random()}`)
.then(response => {
this.$refs.Book.items = response.data;
@@ -415,7 +415,7 @@
openBooks (val) {
this.isLoading = true;
this.axios.get(val.books)
this.axios.get(`${val.books}?r=${Math.random()}`)
.then(response => {
this.$refs.Books.authorName = val.author;
this.$refs.Books.authorImg = val.image;