le setDriver avait disparu
This commit is contained in:
parent
93a7b98b50
commit
d3bb04f2ea
2 changed files with 2 additions and 0 deletions
|
@ -228,6 +228,7 @@ let monTableau = {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
localforage.setDriver(localforage[this.stockage.toUpperCase()]);
|
||||||
this.chargerJson();
|
this.chargerJson();
|
||||||
if (this.urlvuebloc) {
|
if (this.urlvuebloc) {
|
||||||
fetch(this.urlvuebloc)
|
fetch(this.urlvuebloc)
|
||||||
|
|
|
@ -281,6 +281,7 @@ var monTableau = {
|
||||||
mounted: function mounted() {
|
mounted: function mounted() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
|
localforage.setDriver(localforage[this.stockage.toUpperCase()]);
|
||||||
this.chargerJson();
|
this.chargerJson();
|
||||||
|
|
||||||
if (this.urlvuebloc) {
|
if (this.urlvuebloc) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue