Permalink
Browse files

[breaking change] Field: 修复组件错误的事件参数 (#391)

* 优化编译脚本,在预览时降低编译频率

* 修复 field 事件传参

* 降低等待事件
  • Loading branch information...
pangxie1991 committed Jul 30, 2018
1 parent 5ee3096 commit d2ef7fbc035b0a0d127bfb884a570bc8b03e7ba2
Showing with 1,295 additions and 1,148 deletions.
  1. +6 −0 example/pages/field/index.wxml
  2. +1,280 −1,142 package-lock.json
  3. +1 −0 package.json
  4. +5 −5 packages/field/index.js
  5. +3 −1 scripts/utils/extracter.js
@@ -7,26 +7,32 @@
placeholder="{{ config.base.name.placeholder }}"
focus="{{ config.base.name.focus }}"
value="{{ value }}"
bind:change="handleZanFieldChange"
bind:focus="handleZanFieldFocus"
bind:blur="handleZanFieldBlur"
>
</zan-field>
<zan-field
title="{{ config.base.tel.title }}"
placeholder="{{ config.base.tel.placeholder }}"
error="{{ config.base.tel.error }}"
input-type="{{ config.base.tel.inputType }}"
bind:change="handleZanFieldChange"
>
</zan-field>
<zan-field
title="{{ config.base.address.title }}"
type="{{ config.base.address.type }}"
placeholder="{{ config.base.address.placeholder }}"
maxlength="50"
bind:change="handleZanFieldChange"
>
</zan-field>
<zan-field
title="{{ config.base.disabled.title }}"
value="{{ config.base.disabled.value }}"
disabled="{{ config.base.disabled.disabled }}"
bind:change="handleZanFieldChange"
>
</zan-field>
</zan-cell-group>
Oops, something went wrong.

0 comments on commit d2ef7fb

Please sign in to comment.