Skip to content

Drawer的contentWrapperStyle属性设置无效 #6980

@waylonwang

Description

@waylonwang
  • 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'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions