子组件:
// 子组件直接获取父组件里面的属性值 getCurrentInstance
const stateParent = (getCurrentInstance()?.parent as any)?.devtoolsRawSetupState
// 子组件获取父组件porps上面的属性
// const type = getCurrentInstance()?.parent?.props.type;
// 子组件直接获取父组件里面的属性值 getCurrentInstance
const stateParent = (getCurrentInstance()?.parent as any)?.devtoolsRawSetupState
// 子组件获取父组件porps上面的属性
// const type = getCurrentInstance()?.parent?.props.type;