fix: add an example of markdown embedded in the form #138

This commit is contained in:
vben
2020-12-23 21:43:06 +08:00
parent 10cd4fcdff
commit 7db0c5c49f
16 changed files with 463 additions and 354 deletions

View File

@@ -59,6 +59,8 @@
if (el.scrollHeight !== 0) {
// for safari: add class after set height, or it will jump to zero height suddenly, weired
addClass(el, 'collapse-transition');
// in vue3.0.4, transitionProperty is set 'none' to avoid 'v-leave-from' issue
el.style.transitionProperty = 'height';
el.style.height = 0;
el.style.paddingTop = 0;
el.style.paddingBottom = 0;