[Improvement] Area: add change event (#1019)

This commit is contained in:
neverland
2018-05-08 20:54:36 +08:00
committed by GitHub
parent 072dc24656
commit 0087fcdf6c
5 changed files with 6 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
<template>
<picker
:class="b()"
ref="picker"
:class="b()"
show-toolbar
value-key="name"
:title="title"
@@ -156,6 +156,7 @@ export default create({
} else if (index === 1) {
picker.setColumnValues(2, this.getList('county', code.slice(0, 4)));
}
this.$emit('change', picker, values, index);
},
getValues() {