Home > front end >  Is there a way to replace the iframe in the vue?
Is there a way to replace the iframe in the vue?

Time:04-30

In the parent vue page to dynamically nested vue page, can only use the iframe
Such as

Like this, I can switch, but the page directly by value very troublesome, is there any other way to establish yao? I want to switch pages according to the different values

CodePudding user response:

Vue component is not working, routing switch, add judgment is bad

CodePudding user response:

I rarely use the iframe, I will write directly & lt; Div> These, oneself do a iframe
The value has two ways:
1. Parent-child classes by value each other, similar popr, $emit such
2, you can write a main class, temporary deposit the value is there, then root. $main class. Variables (method) - so to access,

CodePudding user response:

The table TAB, switch components can, with what the iframe? Code in the 90 s, early have been eliminated
  • Related