Minor fixes. Node packages updated.
Minor fixes. Node packages updated.
This commit is contained in:
10
src/App.vue
10
src/App.vue
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user