arco-design-vue icon indicating copy to clipboard operation
arco-design-vue copied to clipboard

`Table`自定义渲染时没有类型

Open llk2yq opened this issue 3 years ago • 0 comments

 <!--list是有类型的-->
<a-table :data="list">
  <template #columns>
      <a-table-column title="Name">
          <!--record类型是any,而非list的类型-->
          <template #cell="{ record }">
            {{record}}
          </template>
      </a-table-column>
  </template>
</a-table>

record的类型是any

使用了volar插件

llk2yq avatar Jul 22 '22 08:07 llk2yq