Changelog: update for 1.2.4

This commit is contained in:
Leopoldthecoder 2017-03-09 18:04:20 +08:00 committed by 杨奕
parent 2520ba8689
commit 50a786ab79
8 changed files with 282 additions and 273 deletions

View File

@ -1,5 +1,19 @@
## Changelog
### 1.2.4
*2017-03-09*
- Fixed Carousel not responding to dynamic data updates, #3159
- Fixed `cell-dblclick` of Table not firing issue, #3305
- Fixed disabled Cascader not displaying initial value, #3297
- Fixed Slider not correctly displaying initial value when `show-input` is true, #3281
- Fixed Tooltip error in server-side rendering, #3214
- Fixed `range-separator` of DatePicker not working issue, #3378
- Added support for dynamically update loading text of Loading directive, #3345 (by @imyzf)
- Added `http-request` attribute for Upload, #3387
- Added support for hiding col if its `span` is 0, #3313
### 1.2.3
*2017-03-01*
- Fixed Tooltip, #3152

View File

@ -1,5 +1,18 @@
## 更新日志
### 1.2.4
*2017-03-09*
- 修复 Carousel 有时不响应数据动态更新的问题,#3159
- 修复 Table 的 `cell-dblclick` 事件无法触发的问题,#3305
- 修复禁用的 Cascader 不显示默认值的问题,#3297
- 修复 Slider 在 `show-input` 时初始值不正确的问题,#3281
- 修复 Tooltip 在服务端渲染时报错的问题,#3214
- 修复 DatePicker 的 `range-separator` 属性有时无效的问题,#3378
- 新增指令式调用 Loading 时响应动态加载文案的功能,#3345by @imyzf
- 新增 Upload 的 `http-request` 参数,用于实现覆盖默认的上传行为,#3387
- 新增 Col 支持将 `span` 值设为 0 时隐藏该列的功能,#3313
### 1.2.3
*2017-03-01*
- 修复 Tooltip, #3152

View File

@ -2,7 +2,6 @@ var cooking = require('cooking');
var config = require('./config');
var md = require('markdown-it')();
var CopyWebpackPlugin = require('copy-webpack-plugin');
var OfflinePlugin = require('offline-plugin');
var striptags = require('./strip-tags');
var slugify = require('transliteration').slugify;
var isProd = process.env.NODE_ENV === 'production';
@ -118,6 +117,5 @@ if (isProd) {
cooking.add('plugin.CopyWebpackPlugin', new CopyWebpackPlugin([
{ from: 'examples/versions.json' }
]));
isProd && cooking.add('plugin.OfflinePlugin', new OfflinePlugin());
cooking.add('vue.preserveWhitespace', false);
module.exports = cooking.resolve();

View File

@ -1500,7 +1500,7 @@ When the row content is too long and you do not want to display the horizontal s
| align | alignment | string | left/center/right | left |
| header-align | alignment of the table header. If omitted, the value of the above `align` attribute will be applied | String | left/center/right | — |
| class-name | class name of cells in the column | string | — | — |
| label-class-name | class name of cells in the current title | string | — | — |
| label-class-name | class name of the label of this column | string | — | — |
| selectable | function that determines if a certain row can be selected, works when `type` is 'selection' | Function(row, index) | — | — |
| reserve-selection | whether to reserve selection after data refreshing, works when `type` is 'selection' | boolean | — | false |
| filters | an array of data filtering options. For each element in this array, `text` and `value` are required | Array[{ text, value }] | — | — |

View File

@ -1583,7 +1583,7 @@
| align | 对齐方式 | String | left/center/right | left |
| header-align | 表头对齐方式,若不设置该项,则使用表格的对齐方式 | String | left/center/right | — |
| class-name | 列的 className | string | — | — |
| label-class-name | 当前标题的 className | string | — | — |
| label-class-name | 当前列标题的自定义类名 | string | — | — |
| selectable | 仅对 type=selection 的列有效,类型为 FunctionFunction 的返回值用来决定这一行的 CheckBox 是否可以勾选 | Function(row, index) | — | — |
| reserve-selection | 仅对 type=selection 的列有效,类型为 Boolean为 true 则代表会保留之前数据的选项,需要配合 Table 的 clearSelection 方法使用。 | Boolean | — | false |
| filters | 数据过滤的选项,数组格式,数组中的元素需要有 text 和 value 属性。 | Array[{ text, value }] | — | — |

View File

@ -1,5 +1,3 @@
process.env.NODE_ENV === 'production' && require('offline-plugin/runtime').install();
import Vue from 'vue';
import entry from './app';
import VueRouter from 'vue-router';

View File

@ -102,7 +102,6 @@
"markdown-it-anchor": "^2.5.0",
"markdown-it-container": "^2.0.0",
"mocha": "^3.1.1",
"offline-plugin": "^4.6.1",
"phantomjs-prebuilt": "^2.1.13",
"postcss": "^5.1.2",
"postcss-loader": "^0.11.1",

519
yarn.lock

File diff suppressed because it is too large Load Diff