Before the project is passed by ref father and son in a number of component data, but the use of other specific ref did not get to the bottom, so take a look at the specific use of ref
first:
<div REF = " Hello " > <-! bound value of the data inside and rendered into the page -> <= h1 of V-Model " MSG " > {{MSG}} </ h1 of> </ div>
/ / method of acquiring data or function in the life cycle of
console.log(this.$refs.hello.innerText);
second:
components: {node} // Register subassembly
<Node ref = " Node " > 111222 </ Node> // used in the form subassemblies and subassemblies used in ref
the console.log ( the this $ refs.node.); // The method of obtaining the subassembly and process properties by refs
This is to obtain the contents of the entire sub-assembly