ct-component-plus 2.2.7 → 2.2.8
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/README.md
CHANGED
package/package.json
CHANGED
|
@@ -156,7 +156,8 @@ const selectText = computed(() => {
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
nextTick(() => {
|
|
159
|
-
selectRef.value.$refs
|
|
159
|
+
selectRef.value.$refs &&
|
|
160
|
+
(selectRef.value.$refs.reference.input.value = result);
|
|
160
161
|
});
|
|
161
162
|
return result;
|
|
162
163
|
});
|
|
@@ -178,7 +179,7 @@ watch(
|
|
|
178
179
|
// selectRef.value.$refs.reference.input.value = newVal;
|
|
179
180
|
// })
|
|
180
181
|
// }
|
|
181
|
-
}
|
|
182
|
+
},
|
|
182
183
|
);
|
|
183
184
|
watchEffect(async () => {
|
|
184
185
|
// 输入框过滤,触发的事件
|
|
@@ -194,7 +195,7 @@ watchEffect(async () => {
|
|
|
194
195
|
const filterCallbackHandle = await cbs.filterCallback(
|
|
195
196
|
keyword.value,
|
|
196
197
|
showOptions.value,
|
|
197
|
-
valueModel
|
|
198
|
+
valueModel,
|
|
198
199
|
);
|
|
199
200
|
if (filterCallbackHandle === false) return;
|
|
200
201
|
arr = filterCallbackHandle || arr;
|
|
@@ -274,7 +275,7 @@ const watchServiceHandle = async () => {
|
|
|
274
275
|
try {
|
|
275
276
|
const defineSearchHandle = await cbs.defineSearch(
|
|
276
277
|
optionsByApi,
|
|
277
|
-
valueModel
|
|
278
|
+
valueModel,
|
|
278
279
|
);
|
|
279
280
|
if (defineSearchHandle === false) return;
|
|
280
281
|
if (defineSearchHandle) {
|
|
@@ -295,7 +296,7 @@ watch(
|
|
|
295
296
|
},
|
|
296
297
|
{
|
|
297
298
|
immediate: true,
|
|
298
|
-
}
|
|
299
|
+
},
|
|
299
300
|
);
|
|
300
301
|
const checkedAll = useCheckedAll(filterOptions, valueModel, {
|
|
301
302
|
onCheckedAll: (falg) => {
|