V
V
Vlad Avtomat2017-08-23 15:35:36
Vue.js
Vlad Avtomat, 2017-08-23 15:35:36

How to display the contents of an array in a label in vue.js?

I have this html

<el-tabs type="card" @tab-click="handleClick">
            <el-tab-pane v-for="item in items" label="item.message" >{{ item.message }}</el-tab-pane>
</el-tab-pane>-->
        </el-tabs>


How can I pass the contents of my item to the label?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lavezzi1, 2017-08-23
@VladSavelev

:label="item.message"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question