mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[Improvement] Area: add change event (#1019)
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user