cosey 0.10.13 → 0.10.14
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, unref, computed, createVNode, mergeProps, nextTick } from 'vue';
|
|
2
|
-
import { reactiveComputed
|
|
3
|
-
import { merge, get } from 'lodash-es';
|
|
2
|
+
import { reactiveComputed } from '@vueuse/core';
|
|
3
|
+
import { merge, omit, get } from 'lodash-es';
|
|
4
4
|
import { ElSelect, ElPagination, ElOption } from 'element-plus';
|
|
5
5
|
import { remoteSelectEmits, remoteSelectSlots, remoteSelectProps } from './remote-select.api.js';
|
|
6
6
|
import stdin_default$1 from './remote-select.style.js';
|
|
@@ -126,9 +126,11 @@ var stdin_default = defineComponent({
|
|
|
126
126
|
} = useProps(props);
|
|
127
127
|
const popperId = uniqid();
|
|
128
128
|
const events = bulkBindEvents(remoteSelectEmits, emit);
|
|
129
|
-
const selectProps =
|
|
129
|
+
const selectProps = computed(() => {
|
|
130
|
+
return omit(props, ["optionProps", "api", "pagination", "formProps", "transformParams", "keys", "immediate"]);
|
|
131
|
+
});
|
|
130
132
|
return () => {
|
|
131
|
-
return createVNode(ElSelect, mergeProps(attrs, selectProps, events, {
|
|
133
|
+
return createVNode(ElSelect, mergeProps(attrs, selectProps.value, events, {
|
|
132
134
|
"class": `${hashId.value} ${prefixCls.value}`,
|
|
133
135
|
"popper-class": `${hashId.value} ${prefixCls.value}-popper ${popperId}`,
|
|
134
136
|
"onVisible-change": onVisibleChange
|