mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
14 lines
195 B
JavaScript
14 lines
195 B
JavaScript
import Page from '../../common/page';
|
|
|
|
Page({
|
|
data: {
|
|
show: false
|
|
},
|
|
onClickShow() {
|
|
this.setData({ show: true });
|
|
},
|
|
onClickHide() {
|
|
this.setData({ show: false });
|
|
}
|
|
});
|