Skip to content

Drawer的contentWrapperStyle属性设置无效 #6980

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

Closed
1 task
waylonwang opened this issue Sep 25, 2023 · 1 comment · Fixed by #6983
Closed
1 task

Drawer的contentWrapperStyle属性设置无效 #6980

waylonwang opened this issue Sep 25, 2023 · 1 comment · Fixed by #6983
Assignees
Labels

Comments

@waylonwang
Copy link

waylonwang commented Sep 25, 2023

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

undefined

Environment

vue 3.3.4

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1.按照Drawer官方文档的样例1,去掉style属性的定义
2.增加contentWrapperStyle属性的定义:
:contentWrapperStyle="{ color: 'red' }"

What is expected?

1.打开的抽屉内容的字体颜色应该为红色
2.HTML中元素的style中应该增加color: 'red'

What is actually happening?

1.打开的抽屉内容的字体始终是蓝色
2.HTML中元素的style始终是style="width: 378px;",没有增加color: 'red'

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants