在表 antDesign Vuejs 中添加输入

问题描述

我想在 INPUT 的表格中显示我的一些数据。我使用 AntDesign Vue 进行设计。

所以这是一个包含一些数据的表格,我只想在输入中仅显示“地址”列中的数据以进行编辑。

我该怎么做?

非常感谢。

<template>
  <a-table :columns="columns" :data-source="data">
    
  </a-table>
</template>
<script>
const columns = [
  {
    title: 'Name',dataIndex: 'name',key: 'name',scopedSlots: { customrender: 'name' },},{
    title: 'Age',dataIndex: 'age',key: 'age',{
    title: 'Address',dataIndex: 'address',key: 'address 1',];

const data = [
  {
    key: '1',name: 'John brown',age: 32,address: 'New York No.',{
    key: '2',name: 'Jim Green',age: 42,address: 'London No. 2',{
    key: '3',name: 'Joe Black',address: 'Sidney No. 1 Lake Park,Sidney No. 1 Lake Park',];

export default {
  data() {
    return {
      data,columns,};
  },};
</script>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)