Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议支持将form-create标签内的slot传递到自定义组件的内部slot #528

Open
zjjjjjjjjjjd opened this issue Aug 26, 2022 · 1 comment
Labels
新的需求 New feature or request

Comments

@zjjjjjjjjjjd
Copy link

这是组件内部的slot:

// custom.js
<template>
    <div class="extra-input-wrap">
        <slot name="extra" /> 
    </div>
</template>

这是需要灵活变动的页面特殊需求:

// page.js
<template>
    <form-create
            v-model="fApi"
            :rule="template"
     >
              <template slot="extra">
                    里面会很复杂
              </template>
     </form-create>
</template>

希望能达到以上的效果

@xaboy
Copy link
Owner

xaboy commented Aug 29, 2022

感谢反馈

@xaboy xaboy added the 新的需求 New feature or request label Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
新的需求 New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants