This commit is contained in:
Christophe 2020-07-03 13:30:23 +02:00
parent 6726ab666d
commit 3dc60ef3c7
2 changed files with 7 additions and 6 deletions

View file

@ -150,6 +150,9 @@ let monTableau = {
namecsv: {
type: String,
},
toto: {
type: String,
},
},
data: function () {
return {
@ -172,7 +175,6 @@ let monTableau = {
},
mounted() {
this.chargerJson();
let url = 'spip.php?page=vuebloc';
fetch(url)
.then((response) => response.text())
@ -345,8 +347,6 @@ let monTableau = {
Object.keys(ligne).forEach((key) => {
html = html.replace(`@@${key}@@`, ligne[key]);
});
//console.log(html);
//console.log('coucou');
return html;
},
},

View file

@ -194,6 +194,9 @@ var monTableau = {
},
namecsv: {
type: String
},
toto: {
type: String
}
},
data: function data() {
@ -412,9 +415,7 @@ var monTableau = {
console.log(ligne);
Object.keys(ligne).forEach(function (key) {
html = html.replace("@@".concat(key, "@@"), ligne[key]);
}); //console.log(html);
//console.log('coucou');
});
return html;
}
},