mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
parent
84eb154377
commit
60acd2d848
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user