diff --git a/client/src/components/chainetv.vue b/client/src/components/chainetv.vue index cd8cd59..987c522 100644 --- a/client/src/components/chainetv.vue +++ b/client/src/components/chainetv.vue @@ -96,7 +96,7 @@ export default { arraychaine.forEach((element) => { if (element !== '') { if (re.test(element)) { - const range = element.split('-'); + const range = element.split('-').map(Number); for (let i = range[0]; i <= range[1]; i += 1) { this.$store.dispatch('getchaine', { num: i }); }