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

mescroll-empty可以提供一个插槽 或者自定义样式吗? #462

Open
qyn980427 opened this issue Apr 21, 2023 · 1 comment
Open

Comments

@qyn980427
Copy link

很多实际项目中,数据为空的兜底样式是想要自定义的。

@mescroll
Copy link
Owner

  1. 可以直接修改 /components/mescroll-uni/mescroll-uni-option.js 进行全局配置
  2. 可以配置up.empty的属性,自定义单独的某个页面
  3. 通过css样式覆盖
  4. 以上是mescroll-body或mescroll-uni自动判断显示empty, 如果需要自行v-if判断empty组件,提供插槽确实是不错的建议

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants