[Vuejs]-Vue ant design select in table

0👍

At least i need to add a slot-scope in my slot, to achives it

<a-table
                :columns="columns"
                :dataSource="data"
                :scroll="{ x: 'max-content' }"
                :pagination="{ pageSize: 6 }">
            <template slot="Client" slot-scope="text, record">
                <a-select v-model="selected[record.key - 1]" style="width: 200px">
                    <a-select-option v-for="client in getProjects" :key="client" :value="client">
                        {{client}}
                    </a-select-option>
                </a-select>
          </template>

Leave a comment