For example, a component:
How in the component internal access to Hear the word
{
Props: {
Style: {
Type: String,
}
},
Mounted () {
I just want to in internal access to Hear this value
}
}
Thank you
CodePudding user response:
Thank you very much, through this. $slots. The default [0]. The text can direct access to the text,CodePudding user response:
Component definition solt insideCodePudding user response:
The building Lord, how do I use the method of no, the following codeThe text value, I want to get the current click. Is the item name
CodePudding user response:
Methods: changeStyle1 (e) {Enclosing style='select'
The console. The log (enclosing $slots);
}
This $slots is an empty object