mirror of https://github.com/ElemeFE/element
Changelog: update for 2.0.11
parent
769827e701
commit
9c83ee9aaa
|
@ -1,5 +1,16 @@
|
|||
## Changelog
|
||||
|
||||
### 2.0.11
|
||||
|
||||
*2018-01-08*
|
||||
|
||||
- Fixed border color issue of Select when in `prepend` or `append` slot of Input, #9089
|
||||
- Fixed `remove-tag` event's parameter of Select, #9090
|
||||
- Added `show-timeout` and `hide-timeout` attributes for SubMenu, #8934 (by @HugoLew)
|
||||
- Fixed missing Tooltip style of `show-overflow-tooltip` when Table is imported on demand, #9130
|
||||
- Fixed Table column's sorting malfunctioning after `clearSort` is executed on that column, #9100 (by @zEmily)
|
||||
- i18n config file for Czech is renamed from `cz` to `cs-CZ`, #9164
|
||||
|
||||
### 2.0.10
|
||||
|
||||
*2017-12-29*
|
||||
|
|
|
@ -1,5 +1,16 @@
|
|||
## Changelog
|
||||
|
||||
### 2.0.11
|
||||
|
||||
*2018-01-08*
|
||||
|
||||
- Fixed border color issue of Select when in `prepend` or `append` slot of Input, #9089
|
||||
- Fixed `remove-tag` event's parameter of Select, #9090
|
||||
- Added `show-timeout` and `hide-timeout` attributes for SubMenu, #8934 (by @HugoLew)
|
||||
- Fixed missing Tooltip style of `show-overflow-tooltip` when Table is imported on demand, #9130
|
||||
- Fixed Table column's sorting malfunctioning after `clearSort` is executed on that column, #9100 (by @zEmily)
|
||||
- i18n config file for Czech is renamed from `cz` to `cs-CZ`, #9164
|
||||
|
||||
### 2.0.10
|
||||
|
||||
*2017-12-29*
|
||||
|
|
|
@ -1,5 +1,16 @@
|
|||
## 更新日志
|
||||
|
||||
### 2.0.11
|
||||
|
||||
*2018-01-08*
|
||||
|
||||
- 修复 Input 的 `prepend` 或 `append` slot 中 Select 的边框颜色错误,#9089
|
||||
- 修复 Select 的 `remove-tag` 事件参数与文档不符的问题,#9090
|
||||
- 新增 SubMenu 的 `show-timeout` 和 `hide-timeout` 属性,#8934(by @HugoLew)
|
||||
- 修复按需引入 Table 时 `show-overflow-tooltip` 的 Tooltip 样式丢失的问题,#9130
|
||||
- 修复 Table 在执行 `clearSort` 后点击对应列的排序图标无法正常排序的问题,#9100(by @zEmily)
|
||||
- 捷克语的 i18n 配置文件由 `cz` 重命名为 `cs-CZ`,#9164
|
||||
|
||||
### 2.0.10
|
||||
|
||||
*2017-12-29*
|
||||
|
|
|
@ -63,7 +63,7 @@ Top bar NavMenu can be used in a variety of scenarios.
|
|||
```html
|
||||
<el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect">
|
||||
<el-menu-item index="1">Processing Center</el-menu-item>
|
||||
<el-submenu index="2" show-timeout="10" hide-timeout="10">
|
||||
<el-submenu index="2">
|
||||
<template slot="title">Workspace</template>
|
||||
<el-menu-item index="2-1">item one</el-menu-item>
|
||||
<el-menu-item index="2-2">item two</el-menu-item>
|
||||
|
@ -305,8 +305,8 @@ Vertical NavMenu could be collapsed.
|
|||
| Attribute | Description | Type | Accepted Values | Default |
|
||||
|---------- |-------- |---------- |------------- |-------- |
|
||||
| index | unique identification | string | — | — |
|
||||
| show-timeout | Delay time before show a sub-menu | number | — | 300 |
|
||||
| hide-timeout | Delay time before hide a sub-menu | number | — | 300 |
|
||||
| show-timeout | timeout before showing a sub-menu | number | — | 300 |
|
||||
| hide-timeout | timeout before hiding a sub-menu | number | — | 300 |
|
||||
|
||||
### Menu-Item Attribute
|
||||
| Attribute | Description | Type | Accepted Values | Default |
|
||||
|
|
|
@ -102,7 +102,6 @@
|
|||
value9: [],
|
||||
value10: [],
|
||||
value11: [],
|
||||
value12: [],
|
||||
loading: false,
|
||||
states: ["Alabama", "Alaska", "Arizona", "Arkansas", "California", "Colorado", "Connecticut", "Delaware", "Florida", "Georgia", "Hawaii", "Idaho", "Illinois", "Indiana", "Iowa", "Kansas", "Kentucky", "Louisiana", "Maine", "Maryland", "Massachusetts", "Michigan", "Minnesota", "Mississippi", "Missouri", "Montana", "Nebraska", "Nevada", "New Hampshire", "New Jersey", "New Mexico", "New York", "North Carolina", "North Dakota", "Ohio", "Oklahoma", "Oregon", "Pennsylvania", "Rhode Island", "South Carolina", "South Dakota", "Tennessee", "Texas", "Utah", "Vermont", "Virginia", "Washington", "West Virginia", "Wisconsin", "Wyoming"]
|
||||
};
|
||||
|
@ -347,21 +346,6 @@ Multiple select uses tags to display selected options.
|
|||
:value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
|
||||
<el-select
|
||||
v-model="value12"
|
||||
multiple
|
||||
filterable
|
||||
collapse-tags
|
||||
style="margin-left: 20px; width: 200px"
|
||||
placeholder="Select">
|
||||
<el-option
|
||||
v-for="item in options"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
|
@ -64,7 +64,7 @@ Top bar NavMenu puede ser usado en distinto escenarios.
|
|||
```html
|
||||
<el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect">
|
||||
<el-menu-item index="1">Processing Center</el-menu-item>
|
||||
<el-submenu index="2" show-timeout="10" hide-timeout="10">
|
||||
<el-submenu index="2">
|
||||
<template slot="title">Workspace</template>
|
||||
<el-menu-item index="2-1">item one</el-menu-item>
|
||||
<el-menu-item index="2-2">item two</el-menu-item>
|
||||
|
@ -307,8 +307,8 @@ NavMenu vertical puede ser colapsado.
|
|||
| Atributo | Descripción | Tipo | Valores aceptados | Por defecto |
|
||||
| -------- | ------------------- | ------ | ----------------- | ----------- |
|
||||
| index | identificador único | string | — | — |
|
||||
| show-timeout | Tiempo de retardo antes de mostrar un sub-menu | number | — | 300 |
|
||||
| hide-timeout | Tiempo de retardo antes de ocultar un sub-menu | number | — | 300 |
|
||||
| show-timeout | timeout before showing a sub-menu | number | — | 300 |
|
||||
| hide-timeout | timeout before hiding a sub-menu | number | — | 300 |
|
||||
|
||||
### Atributos Menu-Item
|
||||
| Atributo | Descripción | Tipo | Valores aceptados | Por defecto |
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
```html
|
||||
<el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect">
|
||||
<el-menu-item index="1">处理中心</el-menu-item>
|
||||
<el-submenu index="2" show-timeout="10" hide-timeout="10">
|
||||
<el-submenu index="2">
|
||||
<template slot="title">我的工作台</template>
|
||||
<el-menu-item index="2-1">选项1</el-menu-item>
|
||||
<el-menu-item index="2-2">选项2</el-menu-item>
|
||||
|
|
|
@ -36,8 +36,8 @@ const LOAD_DOCS_MAP = {
|
|||
},
|
||||
'es': path => {
|
||||
return r => require.ensure([], () =>
|
||||
r(require(`./docs/es${path}.md`)),
|
||||
'es');
|
||||
r(require(`./docs/es${path}.md`)),
|
||||
'es');
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue