file updated..
This commit is contained in:
@ -435,7 +435,6 @@ export default {
|
||||
this.$emit('change', this.selected);
|
||||
|
||||
// Option changed sort_option data
|
||||
/*
|
||||
if (this.group) {
|
||||
this.sort_options.forEach(function (option_group, group_index) {
|
||||
this.option_group.value.forEach(function (option, index) {
|
||||
@ -446,7 +445,7 @@ export default {
|
||||
let options = [];
|
||||
|
||||
this.selected.forEach(function (selected_option_id, selected_index) {
|
||||
if (option.value = this.selected) {
|
||||
if (option.key == this.selected) {
|
||||
indexs.push(selected_index);
|
||||
values.push(option.id);
|
||||
labels.push(option.value);
|
||||
@ -459,7 +458,7 @@ export default {
|
||||
this.$emit('label', labels);
|
||||
this.$emit('option', options);
|
||||
} else {
|
||||
if (option.value = this.selected) {
|
||||
if (option.key == this.selected) {
|
||||
this.$emit('index', index);
|
||||
this.$emit('value', option.id);
|
||||
this.$emit('label', option.value);
|
||||
@ -477,7 +476,7 @@ export default {
|
||||
let options = [];
|
||||
|
||||
this.selected.forEach(function (selected_option_id, selected_index) {
|
||||
if (option.value = this.selected) {
|
||||
if (option.key == this.selected) {
|
||||
indexs.push(selected_index);
|
||||
values.push(option.id);
|
||||
labels.push(option.value);
|
||||
@ -490,7 +489,7 @@ export default {
|
||||
this.$emit('label', labels);
|
||||
this.$emit('option', options);
|
||||
} else {
|
||||
if (option.value = this.selected) {
|
||||
if (option.key == this.selected) {
|
||||
this.$emit('index', index);
|
||||
this.$emit('value', option.id);
|
||||
this.$emit('label', option.value);
|
||||
@ -499,7 +498,6 @@ export default {
|
||||
}
|
||||
}, this);
|
||||
}
|
||||
*/
|
||||
},
|
||||
|
||||
visibleChange(event) {
|
||||
|
Reference in New Issue
Block a user