Skip to content

Commit

Permalink
->v2.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Nov 9, 2017
1 parent 10d5774 commit c1bd27c
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vux",
"version": "2.7.1",
"version": "2.7.2",
"main": "index.js",
"description": "Mobile web UI based on Vue and WeUI",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/components/alert/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ events:
en: emits when dialog is closed
zh-CN: 弹窗关闭时触发
changes:
next:
v2.7.2:
en:
- "[feature] now we can use Alert as a module (import { AlertModule } from 'vux') #2173"
zh-CN:
Expand Down
4 changes: 2 additions & 2 deletions src/components/calendar/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ props:
en: format value before displaying in cell
zh-CN: 格式化显示值
readonly:
version: next
version: v2.7.2
en: whether disable selecting
zh-CN: 是否禁用弹窗选择
events:
Expand All @@ -86,7 +86,7 @@ events:
en: emits when popup hides
zh-CN: 弹窗关闭时触发
changes:
next:
v2.7.2:
en:
- '[feature] add prop:readonly #2178'
- '[fix] fix event:on-change fires multiple times'
Expand Down
2 changes: 1 addition & 1 deletion src/components/datetime/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ events:
en: $emits when click the button in the middle of the header
zh-CN: 点击显示在中间的自定义按钮时触发
changes:
next:
v2.7.2:
en:
- '[enhance] set default start-date if end-date is specified but start-date is not #2158'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/inline-calendar/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ methods:
en: render with current value's month
zh-CN: 渲染当前值所在月份
changes:
next:
v2.7.2:
en:
- '[fix] fix reset-value issue in multiple mode #2160'
- '[fix] fix props missing in calendar #2105'
Expand Down
6 changes: 3 additions & 3 deletions src/components/selector/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ props:
en: if the select is readonly
zh-CN: 是否不可选择
value-map:
version: next
version: v2.7.2
type: Array
en: 'set a [value, label] pair for automatically transforming API data'
zh-CN: 设置键值对映射用以自动转换接口数据, 如 ['value', 'label']
Expand All @@ -65,11 +65,11 @@ events:
zh-CN: 值变化时触发
methods:
getFullValue:
version: next
version: v2.7.2
en: get full value including all the props(if option items are object)
zh-CN: 获取当前完整值,在使用了 valueMap 里可以用该方法来获取当前选中值的原始对象
changes:
next:
v2.7.2:
en:
- '[feature] add prop:value-map for automatically transform API data #2139'
- '[feature] add method:getFullValue for getting full value'
Expand Down
6 changes: 3 additions & 3 deletions src/components/tab/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ tab:
en: badge font color
zh-CN: 徽标文字颜色
prevent-default:
version: next
version: v2.7.2
en: whether prevent auto-switching tab-item when tab-item is clicked
zh-CN: 是否禁止自动切换 tab-item
event:
Expand All @@ -69,7 +69,7 @@ tab:
en: fires when switching tab-item
zh-CN: tab-item 切换时触发
on-before-index-change:
version: next
version: v2.7.2
params: '`(index)`'
en: fires when item is clicked and prop:preventDefault is true
zh-CN: 点击 tab-item 并且 属性 preventDefault 为 true 时触发
Expand All @@ -88,7 +88,7 @@ tab-item:
en: emits when current tabItem is clicked
zh-CN: 当前 tabItem 被点击时触发
changes:
next:
v2.7.2:
en:
- '[feature] support prop:prevent-default #2176'
zh-CN:
Expand Down

0 comments on commit c1bd27c

Please sign in to comment.