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

模态框和抽屉组件关闭问题 #139

Closed
batsx opened this issue Jun 16, 2021 · 2 comments · Fixed by #140
Closed

模态框和抽屉组件关闭问题 #139

batsx opened this issue Jun 16, 2021 · 2 comments · Fixed by #140

Comments

@batsx
Copy link

batsx commented Jun 16, 2021

TuSimple/naive-ui version (版本)

2.11.11

Vue version (Vue 版本)

3.1.1

Browser and its version (浏览器及其版本)

Chrome 91.0.4472.106

System and its version (系统及其版本)

Windows 10

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/75pnb

Reappearance steps (重现步骤)

模态框或者抽屉组件打开时右上角没有关闭的小叉叉

Expected results (期望的结果)

模态框或者抽屉组件打开后右上角那个小角落有一个小叉叉,以便mask-closable为false又没得其他操作时有个地方能关掉

Actual results (实际的结果)

么得小叉叉

Remarks (补充说明)

@07akioni
Copy link
Collaborator

在 Modal 里面使用 card preset 有 closable 的属性。

@07akioni
Copy link
Collaborator

Drawer 之后会加一个

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

Successfully merging a pull request may close this issue.

2 participants