当两者共用时,在input框中输入中文会出现自动删除的情况 解决方案: @keydown.stop="() => {}"
<a-tabs v-model:activeKey="activeKey">
<a-tab-pane key="1" v-for="item in arr">
<template #tab>
<div>
<a-input
style="width: 50px"
v-model:value="item.title"
@keydown.stop="() => {}"
/>
{{ item.title }}
</div>
</template>
</a-tab-pane>
</a-tabs>