fixed #810
This commit is contained in:
parent
5d5f8dc8c6
commit
687c4562f1
3 changed files with 7 additions and 10 deletions
|
@ -60,10 +60,8 @@
|
|||
const backItem = this.getBaseItem(item);
|
||||
this.tmpItem = backItem;
|
||||
this.emitUpdate([backItem]);
|
||||
|
||||
if (item.children && item.children.length){
|
||||
this.sublist = item.children;
|
||||
// this.$dispatch('on-result-change', false, this.changeOnSelect, fromInit);
|
||||
this.dispatch('Cascader', 'on-result-change', {
|
||||
lastValue: false,
|
||||
changeOnSelect: this.changeOnSelect,
|
||||
|
@ -71,7 +69,6 @@
|
|||
});
|
||||
} else {
|
||||
this.sublist = [];
|
||||
// this.$dispatch('on-result-change', true, this.changeOnSelect, fromInit);
|
||||
this.dispatch('Cascader', 'on-result-change', {
|
||||
lastValue: true,
|
||||
changeOnSelect: this.changeOnSelect,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue