抽屉 drawer 在open改为true的nexttick中 页面的 (classname为ant-drawer-content-wrapper)的元素display依旧为none
qilimazhualuo opened this issue · 0 comments
qilimazhualuo commented
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
undefined
Environment
edge 版本 126.0.2566.1 (正式版本) dev (64 位)
Reproduction link
https://www.antdv.com/components/drawer-cn/#Drawer-
Steps to reproduce
因为官网示例就这样的我就没写github 仓库了
1.设置drawer的open props 为true
2.在nextTick 中加入debugger
3.debugger触发时classname为ant-drawer-content-wrapper的元素display 依旧为none
What is expected?
nextTick 时,display属性应当删除
What is actually happening?
nextTick 时,display属性依旧为none