[new feature] Area add 'title' prop & optimzie Picker performance (#450)

This commit is contained in:
neverland
2017-12-19 09:51:09 +08:00
committed by GitHub
parent 72d4365dfc
commit 48b2026e33
11 changed files with 107 additions and 136 deletions

View File

@@ -9,7 +9,7 @@
</demo-block>
<demo-block :title="$t('title3')">
<van-area :areaList="$t('areaList')" :columnsNum="2" />
<van-area :areaList="$t('areaList')" :columnsNum="2" :title="$t('title')" />
</demo-block>
</demo-section>
</template>
@@ -34,7 +34,6 @@ export default {
data() {
return {
areaList: AreaList,
value: '110101'
};
}