ElemeFE / mint-ui

Mobile UI elements for Vue.js
http://mint-ui.github.io/#!/en
MIT License
16.55k stars 3.55k forks source link

[Bug Report] popup API Error #1585

Open ghost opened 5 years ago

ghost commented 5 years ago

Mint UI version

2.2.13

OS/Browsers version

MacOS 10.14.4 / Chrome 75.0.3770.100

Vue version

2.5.2

Reproduction Link

https://mint-ui.github.io/docs/#/zh-cn2/popup

Steps to reproduce

just problem of document

What is Expected?

popup animation normal work

What is actually happening?

The Api option to control CSS transition of the popup, is popup-transition , not pop-transition. 关于Popup组件的动画的API 应该为 popup-transition,而不是pop-transition The default value 'popup-fade' has not corresponding style definition, you have to implement it yourself 使用了正确的API后也没有效果,因为这段css在mint-ui中并没有体现,而是需要自己手动加上css样式。