功能:收口小程序前后台安全与防重复提交
This commit is contained in:
@@ -11,12 +11,24 @@ Component({
|
||||
showStats: {
|
||||
type: Boolean,
|
||||
value: false
|
||||
},
|
||||
showQuickAdd: {
|
||||
type: Boolean,
|
||||
value: false
|
||||
},
|
||||
inCart: {
|
||||
type: Boolean,
|
||||
value: false
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
handleTap() {
|
||||
this.triggerEvent('select', this.properties.item)
|
||||
},
|
||||
|
||||
handleQuickAdd() {
|
||||
this.triggerEvent('quickadd', this.properties.item)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user