app.use( function(req, res, next){
res.header("Access-Control-Allow-Origin", "http://localhost:8080")
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept")
next()
})
<div class="row"
v-for="(row, rI) in terain"
:key="rI">
<div
v-for="(block, bI) in row"
:key="[rI, bI]"
:class="['block', changeBlock(block)]"
@click="editBlock([rI, bI])"
></div>
</div>