vueComponent / pro-components

easy use `Ant Design Vue` layout
MIT License
535 stars 214 forks source link

3.1.0版本footerRender渲染报错 #161

Closed jianshen-weo closed 2 years ago

jianshen-weo commented 2 years ago

你好,我在使用3.0版本搭建的时候,发现footerRender插槽使用就会报错如下: pro-layout.es.js:1 Uncaught (in promise) TypeError: $ is not a function at default (pro-layout.es.js:1) at runtime-core.esm-bundler.js:3171 at Proxy.renderFnWithContext (runtime-core.esm-bundler.js:718) at _default8 (layout.js:40) at runtime-core.esm-bundler.js:3171 at Proxy.renderFnWithContext (runtime-core.esm-bundler.js:718) at Proxy. (layout.js:94) at renderComponentRoot (runtime-core.esm-bundler.js:761) at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:4529) at ReactiveEffect.run (reactivity.esm-bundler.js:160) 代码复现

sendya commented 2 years ago

pro-layout 已经不自带 footer,你可以直接在内容区写你自己需要的 footer

jianshen-weo commented 2 years ago

样式很难固定在底部,为啥文档上有footerRender,但是实际用就没有啊,我记得上个版本是有的,footerRender插槽这块功能能不能完善下

sendya commented 2 years ago

来 PR?

sendya commented 2 years ago

@ant-design-vue/pro-layout@3.1.3

jianshen-weo commented 2 years ago

感谢您的支持,不知道为啥我只能下载到3.1.1版本,后面的版本都下载不了 image

sendya commented 2 years ago

https://www.npmjs.com/package/@ant-design-vue/pro-layout image