vueComponent / ant-design-vue-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design Vue like a Pro! (vue2)
https://pro.antdv.com
MIT License
10.63k stars 3.09k forks source link

请问旧版本的 pro-layout 组件是否没有实现 menuFooterRender 插槽? #1418

Closed Wjinlei closed 1 year ago

Wjinlei commented 1 year ago

Question (问题描述) 请问 1.xpro-layout 组件是否没有实现 menuFooterRender 插槽? 由于公司的老项目,用的vue2 我看了下 pro-layout 的版本是 1.0.13 我测试了但菜单底部并没有效果呢

    <!-- 侧边栏-退出登录 -->
    <template v-slot:menuFooterRender>
      <a-button>退出登录</a-button>
    </template>

Describe the solution you'd like (你期待的是什么?) 能够在菜单底部插入自己的按钮

Additional context(附加信息) Add any other context or screenshots about the feature request here.

Wjinlei commented 1 year ago

抱歉,提错了位置,我现在关闭它。我应该在这里提交这个问题 https://github.com/vueComponent/pro-components/issues/274