Article From:https://segmentfault.com/q/1010000009375037
Question:

iviewHow can the content of the tag be changed into.Vue file? Will the data that is filled in input be retained after each switch?

Answer 0:

keep-liveIt can be solved

Answer 1:

Did the landlord solve it, I want to know

Answer 2:

Load a component,

components: {
    tabPageOne: () => import('@/components/test')
},

Then, direct the reference:

<Tab-pane label="Label "name=" name1 ">";< tabPageOne> < /tabPageOne>< /Tab-pane>

Answer 3:

keep-liveNo destruction is a code implemented through display:none

Leave a Reply

Your email address will not be published. Required fields are marked *