C
C
Cyrus2019-06-14 17:00:51
Vue.js
Cyrus, 2019-06-14 17:00:51

How to display data based on an array of the second level of nesting?

5d03a81f1c9cd724086042.png
I'm confused, how to display the content only if a subsection is selected? that is, an array of the second level of nesting.
And for some reason, subsections do not work correctly for me, I don’t understand why. Need help.
SANDBOX

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2019-06-14
@storm184

Obviously, we need to add one more property that will be responsible for the selected subsection.
https://jsfiddle.net/w0vrxcyg/2/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question