How do I add my value of the prop thrID as a class value in the template?
thrID is passed in as my1value
<template>
<div v-bind:class="['hhhhh',thrID]">
test {{thrID}}
</div>
</template>
<script>
export default {
name: 'bottom',
components: {
},
props:["thrID"]
}
</script>
<style scoped>
.bottom {
background: yellow;
height: 30px;
width: 100%;
}
</style>
it renders
<div data-v-10e356bb="" data-v-7ba5bd90="" class="hhhhh">
test my1value
</div>
I want it to have a class like this
<div data-v-10e356bb="" data-v-7ba5bd90="" class="hhhhh my1value">
test my1value
</div>