Fix: 修复toast关闭时未移除Dom节点,以及补上单元测试 (#19)

* 文档页样式和打包配置优化

* upload unit test

* intanbul ignore src/index

* unit test

* utils dom unit test

* fix: toast not remove

* remove dom unit test

* remove toast clear unit test

* remove toast import vue
This commit is contained in:
张敏
2017-04-26 15:49:44 +08:00
committed by GitHub
parent 639d3a65c5
commit b4544ef1dc
3 changed files with 71 additions and 10 deletions

View File

@@ -51,6 +51,9 @@
}
}
.van-toast-fade-enter, .van-toast-fade-leave-active {
.van-toast-fade-enter-active, .van-toast-fade-leave-active {
transition: opacity .2s;
}
.van-toast-fade-enter, .van-toast-fade-leave-to {
opacity: 0;
}