Skip to content

Commit

Permalink
Merge pull request #39 from leezng/dev
Browse files Browse the repository at this point in the history
release 1.1.1
  • Loading branch information
leezng authored Jun 4, 2019
2 parents cdc2f6b + 374b331 commit 66cc43d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

An [element-ui](https://github.com/ElemeFE/element) based extension package. We extend some components, such as Table, Menu, Form, etc., to enrich their features and functions, such as dynamically rendered forms and menus, draggable tables, and more. At the same time, we have added some common components and scenarios, such as tree selectors, to provide a fast solution.

From `el-form-renderer` to `element-patch`, `el-form-renderer` has become a historically independent [branch](https://github.com/leezng/element-patch/tree/el-form-renderer) that will no longer be maintained separately, and subsequent `element-patch` will provide an on-demand installation.
From `el-form-renderer` to `element-patch`, `el-form-renderer` has become a historically independent [branch](https://github.com/leezng/element-patch/tree/el-form-renderer) that will no longer be maintained separately. You can click here to see [how to migration from el-form-renderer](https://leezng.github.io/element-patch/).

## Links

Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

基于 [element-ui](https://github.com/ElemeFE/element) 的扩展包。我们对一些组件,例如 Table, Menu, Form 等进行扩展,丰富其特性与功能,例如动态渲染的表单与菜单,可拖拽的表格等。同时增加了一些常用组件与场景,例如树型选择器等,致力于提供一套快速的解决方案。

`el-form-renderer` 升级到 `element-patch``el-form-renderer` 已成为一个历史[独立分支](https://github.com/leezng/element-patch/tree/el-form-renderer),将不再进行单独维护,后续 `element-patch` 将提供按需加载方式
`el-form-renderer` 升级到 `element-patch``el-form-renderer` 已成为一个历史[独立分支](https://github.com/leezng/element-patch/tree/el-form-renderer),将不再进行单独维护[点击这里查看如何从 el-form-renderer 迁移](https://leezng.github.io/element-patch/)

## Links

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "element-patch",
"version": "1.1.0",
"version": "1.1.1",
"description": "A Vue.js project",
"author": "leezng <[email protected]>",
"main": "lib/element-patch.js",
Expand Down
6 changes: 6 additions & 0 deletions src/plugs/tree-select/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@
methods: {
// 在data中找到当前项
getCurrentItem (data, value) {
if (!value) {
return {
label: '',
value: ''
}
}
let arr = [...data]
while (arr.length) {
const item = arr.shift()
Expand Down

0 comments on commit 66cc43d

Please sign in to comment.