@avakhula/ui 0.0.45 → 0.0.47
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 +1322 -1321
- package/dist/index.umd.cjs +38 -38
- package/package.json +1 -1
- package/src/components/TreeSelect/Option.vue +1 -0
- package/src/components/TreeSelect/Select.vue +2 -4
package/package.json
CHANGED
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
></select-option>
|
|
186
186
|
</template>
|
|
187
187
|
|
|
188
|
-
<template v-for="option in actualOptions" :key="option.value">
|
|
188
|
+
<template v-for="option in actualOptions" :key="name + option.value">
|
|
189
189
|
<slot
|
|
190
190
|
:option="option"
|
|
191
191
|
:name="actualName"
|
|
@@ -379,9 +379,9 @@ export default {
|
|
|
379
379
|
this.setPreparedValues();
|
|
380
380
|
},
|
|
381
381
|
modelValue(value) {
|
|
382
|
-
console.log(value, '1123213123123123123')
|
|
383
382
|
this.val = value;
|
|
384
383
|
this.setPreparedValues();
|
|
384
|
+
console.log(this.actualOptions)
|
|
385
385
|
},
|
|
386
386
|
val(value) {
|
|
387
387
|
if (
|
|
@@ -640,8 +640,6 @@ export default {
|
|
|
640
640
|
this.val.findIndex((el) => option.id == el) > -1
|
|
641
641
|
: this.val !== null && this.val == option.id;
|
|
642
642
|
|
|
643
|
-
console.log(option, 'option', option?.title, this.val)
|
|
644
|
-
|
|
645
643
|
if (option.checked) {
|
|
646
644
|
if (!this.onlyEndNodes || !option.children) {
|
|
647
645
|
selected[option.id] = option;
|