ct-component-plus 3.0.1 → 3.0.2
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
CHANGED
|
@@ -110,7 +110,7 @@ const props = defineProps(selectProps);
|
|
|
110
110
|
const emit = defineEmits(selectEmits);
|
|
111
111
|
const attrs = useAttrs();
|
|
112
112
|
|
|
113
|
-
const ns = useNamespace("select");
|
|
113
|
+
const ns = useNamespace("paging-select");
|
|
114
114
|
const optionsByApi = ref([]);
|
|
115
115
|
const showOptions = computed(() => {
|
|
116
116
|
return optionsByApi.value;
|
|
@@ -200,7 +200,7 @@ watch(
|
|
|
200
200
|
(newVal) => {
|
|
201
201
|
if (!selectRef.value) return;
|
|
202
202
|
selectRef.value.selectedLabel = newVal;
|
|
203
|
-
}
|
|
203
|
+
},
|
|
204
204
|
);
|
|
205
205
|
watch(optionsByApi, () => {
|
|
206
206
|
const arr = optionsByApi.value || [];
|
|
@@ -298,7 +298,7 @@ const watchServiceHandle = async (reset = false) => {
|
|
|
298
298
|
try {
|
|
299
299
|
const defineSearchHandle = await cbs.defineSearch(
|
|
300
300
|
optionsByApi,
|
|
301
|
-
valueModel
|
|
301
|
+
valueModel,
|
|
302
302
|
);
|
|
303
303
|
if (defineSearchHandle === false) return;
|
|
304
304
|
if (defineSearchHandle) {
|
|
@@ -319,7 +319,7 @@ watch(
|
|
|
319
319
|
},
|
|
320
320
|
{
|
|
321
321
|
immediate: true,
|
|
322
|
-
}
|
|
322
|
+
},
|
|
323
323
|
);
|
|
324
324
|
// watch(
|
|
325
325
|
// () => keyword.value,
|
|
@@ -401,7 +401,7 @@ defineExpose({
|
|
|
401
401
|
});
|
|
402
402
|
</script>
|
|
403
403
|
<style lang="less">
|
|
404
|
-
.ct-select {
|
|
404
|
+
.ct-paging-select {
|
|
405
405
|
width: 214px;
|
|
406
406
|
&.el-select {
|
|
407
407
|
position: relative;
|