Only show associated data in v-for
问题 I have the following code: <template> <div> <div v-for="title in titles"> <h1>{{ title }}</h1> <a @click="showSub">Click Here</a> <div v-if="subshown"> Shown </div> </div> </div> </template> <script> export default { data() { return { subshown: false, titles: [] } }, methods: { showSub: function () { this.subshown = true; // do something more } } } </script> When i now click on the Click Here Button, the associated subshown from the current title should be shown. At the moment, when i click