debug
This commit is contained in:
parent
6726ab666d
commit
3dc60ef3c7
2 changed files with 7 additions and 6 deletions
|
@ -150,6 +150,9 @@ let monTableau = {
|
||||||
namecsv: {
|
namecsv: {
|
||||||
type: String,
|
type: String,
|
||||||
},
|
},
|
||||||
|
toto: {
|
||||||
|
type: String,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
|
@ -172,7 +175,6 @@ let monTableau = {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.chargerJson();
|
this.chargerJson();
|
||||||
|
|
||||||
let url = 'spip.php?page=vuebloc';
|
let url = 'spip.php?page=vuebloc';
|
||||||
fetch(url)
|
fetch(url)
|
||||||
.then((response) => response.text())
|
.then((response) => response.text())
|
||||||
|
@ -345,8 +347,6 @@ let monTableau = {
|
||||||
Object.keys(ligne).forEach((key) => {
|
Object.keys(ligne).forEach((key) => {
|
||||||
html = html.replace(`@@${key}@@`, ligne[key]);
|
html = html.replace(`@@${key}@@`, ligne[key]);
|
||||||
});
|
});
|
||||||
//console.log(html);
|
|
||||||
//console.log('coucou');
|
|
||||||
return html;
|
return html;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -194,6 +194,9 @@ var monTableau = {
|
||||||
},
|
},
|
||||||
namecsv: {
|
namecsv: {
|
||||||
type: String
|
type: String
|
||||||
|
},
|
||||||
|
toto: {
|
||||||
|
type: String
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data: function data() {
|
data: function data() {
|
||||||
|
@ -412,9 +415,7 @@ var monTableau = {
|
||||||
console.log(ligne);
|
console.log(ligne);
|
||||||
Object.keys(ligne).forEach(function (key) {
|
Object.keys(ligne).forEach(function (key) {
|
||||||
html = html.replace("@@".concat(key, "@@"), ligne[key]);
|
html = html.replace("@@".concat(key, "@@"), ligne[key]);
|
||||||
}); //console.log(html);
|
});
|
||||||
//console.log('coucou');
|
|
||||||
|
|
||||||
return html;
|
return html;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue