vueless 0.0.326 → 0.0.327
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/package.json +1 -1
- package/ui.dropdown-list/index.vue +5 -1
- package/web-types.json +1 -1
package/package.json
CHANGED
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
@binding {string} emptyStyles
|
|
73
73
|
-->
|
|
74
74
|
<slot name="empty" :empty-styles="optionClasses">
|
|
75
|
-
<span v-if="!options.length" v-bind="optionAttrs
|
|
75
|
+
<span v-if="!options.length" v-bind="optionAttrs">
|
|
76
76
|
<span v-bind="optionContentAttrs" v-text="currentLocale.noDataToShow" />
|
|
77
77
|
</span>
|
|
78
78
|
</slot>
|
|
@@ -98,6 +98,8 @@
|
|
|
98
98
|
</template>
|
|
99
99
|
</ul>
|
|
100
100
|
</div>
|
|
101
|
+
|
|
102
|
+
<!-- {{ !options.length }} -->
|
|
101
103
|
</template>
|
|
102
104
|
|
|
103
105
|
<script setup>
|
|
@@ -249,6 +251,8 @@ const addOptionKeyCombination = computed(() => {
|
|
|
249
251
|
});
|
|
250
252
|
|
|
251
253
|
const wrapperHeight = computed(() => {
|
|
254
|
+
if (!optionsRef.value.length) return "auto";
|
|
255
|
+
|
|
252
256
|
const maxHeight = optionsRef.value
|
|
253
257
|
.slice(0, props.visibleOptions)
|
|
254
258
|
.map((el) => el.getBoundingClientRect().height)
|