diff --git a/packages/mixins/transition.ts b/packages/mixins/transition.ts index b4c5734f..bad60335 100644 --- a/packages/mixins/transition.ts +++ b/packages/mixins/transition.ts @@ -37,6 +37,12 @@ export function transition(showDefaultValue: boolean) { display: false, }, + ready() { + if (this.data.show === true) { + this.observeShow(true, false); + } + }, + methods: { observeShow(value: boolean, old: boolean) { if (value === old) {