@avakhula/ui 0.0.43 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1140 -1146
- package/dist/index.umd.cjs +38 -38
- package/package.json +1 -1
- package/src/components/TreeSelect/Select.vue +4 -15
package/package.json
CHANGED
|
@@ -379,22 +379,9 @@ export default {
|
|
|
379
379
|
this.setPreparedValues();
|
|
380
380
|
},
|
|
381
381
|
modelValue(value) {
|
|
382
|
-
|
|
382
|
+
console.log(value, '1123213123123123123')
|
|
383
383
|
this.val = value;
|
|
384
|
-
|
|
385
|
-
this.watchClearValue &&
|
|
386
|
-
(!value || (Array.isArray(value) && !value.length))
|
|
387
|
-
) {
|
|
388
|
-
this.setPreparedValues(this.actualOptions).then(() => {
|
|
389
|
-
const values = Object.keys(this.selected);
|
|
390
|
-
this.$globalEvents.$emit("select-" + this.filterId + ":update", {
|
|
391
|
-
values,
|
|
392
|
-
filter: this.filterId,
|
|
393
|
-
});
|
|
394
|
-
});
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
console.log('modelValue changet 123123', this.actualOptions, 'actualOptions')
|
|
384
|
+
this.setPreparedValues();
|
|
398
385
|
},
|
|
399
386
|
val(value) {
|
|
400
387
|
if (
|
|
@@ -653,6 +640,8 @@ export default {
|
|
|
653
640
|
this.val.findIndex((el) => option.id == el) > -1
|
|
654
641
|
: this.val !== null && this.val == option.id;
|
|
655
642
|
|
|
643
|
+
console.log(option, 'option', option?.title, this.val)
|
|
644
|
+
|
|
656
645
|
if (option.checked) {
|
|
657
646
|
if (!this.onlyEndNodes || !option.children) {
|
|
658
647
|
selected[option.id] = option;
|