Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhigang.li committed Nov 8, 2017
1 parent 50b15b1 commit feaa912
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/iview-area.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/iview-area.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iview-area",
"version": "1.5.3",
"version": "1.5.4",
"description": "An area-linkage-component bases on Vue and iView-UI components",
"author": "Lison",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion src/lib/components/al-cascader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ export default {
}
this.data = proData;
if (this.value[0]) {
let select = [];
if (isNaN(parseInt(this.value[0]))) {
let i = 0;
let select = [];
let index = '';
while (this.value[i]) {
if (i === 0) {
Expand All @@ -147,6 +147,7 @@ export default {
} else {
this.select = this.value;
}
this.$emit('input', this.procesValue(select));
}
}
};
Expand Down

0 comments on commit feaa912

Please sign in to comment.