This commit is contained in:
2019-12-24 16:48:20 +08:00
parent f9ef1a34bd
commit 6576aef374
4 changed files with 12 additions and 22 deletions

View File

@@ -11,13 +11,17 @@ Component({
* 组件的初始数据
*/
data: {
s:false
},
/**
* 组件的方法列表
*/
methods: {
a(){
this.setData({
s:!this.data.s
})
}
}
})