mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 19:29:04 +08:00
fix: add an example of markdown embedded in the form #138
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user