变更
This commit is contained in:
@@ -195,13 +195,16 @@ const _sfc_main = defineComponent({
|
||||
useResizeObserver(mirrorRefEl, () => {
|
||||
handleResize();
|
||||
});
|
||||
watch(() => inputValue.value, (val) => {
|
||||
if (inputRefEl.value && !isComposing.value) {
|
||||
nextTick(() => {
|
||||
inputRefEl.value.value = val != null ? val : "";
|
||||
});
|
||||
watch(
|
||||
() => inputValue.value,
|
||||
(val) => {
|
||||
if (inputRefEl.value && !isComposing.value) {
|
||||
nextTick(() => {
|
||||
inputRefEl.value.value = val != null ? val : "";
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
);
|
||||
const moreCount = computed(() => {
|
||||
if (tagData.value && computedTagData.value) {
|
||||
return tagData.value.length - computedTagData.value.length;
|
||||
@@ -261,7 +264,11 @@ const _sfc_main = defineComponent({
|
||||
size: __props.size,
|
||||
onClose: ($event) => {
|
||||
var _a3;
|
||||
return handleClose(item.value, index2 + ((_a3 = __props.minCollapsedNum) != null ? _a3 : 0), $event);
|
||||
return handleClose(
|
||||
item.value,
|
||||
index2 + ((_a3 = __props.minCollapsedNum) != null ? _a3 : 0),
|
||||
$event
|
||||
);
|
||||
}
|
||||
}), {
|
||||
default: withCtx(() => [
|
||||
|
||||
Reference in New Issue
Block a user