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

feat: dialog 组件的 props 增加 z-index #3055

Closed
wants to merge 1 commit into from

Conversation

iCheng
Copy link
Contributor

@iCheng iCheng commented Apr 30, 2024

这个 PR 做了什么? (简要描述所做更改)
dialog 组件的 props 增加 z-index
resolve #3042

这个 PR 是什么类型? (至少选择一个)

  • feat: 新特性提交
  • fix: bug 修复
  • docs: 文档改进
  • style: 组件样式/交互改进
  • type: 类型定义更新
  • perf: 性能、包体积优化
  • refactor: 代码重构、代码风格优化
  • test: 测试用例
  • chore(deps): 依赖升级
  • chore(demo): 演示代码改进
  • chore(locale): 国际化改进
  • chore: 其他改动(是关于什么的改动?)

这个 PR 涉及以下平台:

  • NutUI H5 @nutui/nutui
  • NutUI Taro @nutui/nutui-taro

这个 PR 是否已自测:

@eiinu
Copy link
Member

eiinu commented May 7, 2024

Dialog 组件支持传入 Popup 的 Props,其中已经包括了 z-index 属性,不需要增加了

export default create({
inheritAttrs: false,
components: {
NutPopup,
NutButton
},
props: {
...popupProps,
closeOnClickOverlay: {

@eiinu eiinu closed this May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

toast层级问题
2 participants