在这个例子中,父组件引用了 MyComponent 组件,并通过 props 传递了一个字符串作为 message 属性的值。 在 MyComponent 组件中,我们可以通过 props 参数来获取这个值,并在 setup 函数中进行处理。