mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
21 lines
219 B
JavaScript
21 lines
219 B
JavaScript
var app = getApp()
|
|
|
|
Page({
|
|
data: {
|
|
showDialog: false
|
|
},
|
|
|
|
toggleDialog() {
|
|
this.setData({
|
|
showDialog: !this.data.showDialog
|
|
});
|
|
},
|
|
|
|
onLoad: function () {
|
|
|
|
},
|
|
|
|
onShow: function() {
|
|
},
|
|
})
|