[improvement] SwipeCell: add click event (#1848)

This commit is contained in:
neverland
2018-09-23 15:30:52 +08:00
committed by GitHub
parent 40d965db67
commit 86c1d255f8
3 changed files with 14 additions and 0 deletions
+2
View File
@@ -137,6 +137,8 @@ export default create({
},
onClick(position = 'outside') {
this.$emit('click', position);
if (!this.offset) {
return;
}