[new feature] Tabs: support switch tabs with swipe gestrue in the content (#694)

This commit is contained in:
张敏
2018-03-15 10:17:51 +08:00
committed by neverland
parent f13a0779fd
commit 5cdf3b1d79
8 changed files with 137 additions and 8 deletions

View File

@@ -103,6 +103,7 @@ export default create({
onInput(event) {
const { value } = event.target;
this.currentValue = value ? this.correctValue(+value) : value;
event.target.value = this.currentValue;
this.emitInput();
},