Review comments.

This commit is contained in:
2020-12-16 18:38:05 +01:00
parent 7df25e8a88
commit 782fc5e633
2 changed files with 17 additions and 15 deletions

View File

@@ -3,7 +3,7 @@
<h2>Code-Matrix</h2>
<div class="matrix-row" v-for="i in size" :key="i">
<div class="matrix-column" v-for="j in size" :key="j">
{{matrix[(i-1)*5+(j-1)]}}
{{matrix[(i - 1)*5 + (j - 1)]}}
</div>
</div>
</div>
@@ -15,7 +15,7 @@
export default defineComponent({
props: {
size: {type: Number, required: true},
matrix: {type: Array, required: true}
matrix: {type: Array, required: true},
}
});
</script>