feat: 增加column-resizable属性

This commit is contained in:
rd
2025-07-07 13:46:24 +08:00
parent f8f1301989
commit 0766c7c1ad
8 changed files with 16 additions and 3 deletions

View File

@ -37,7 +37,7 @@
<!-- 分别编辑 -->
<template v-if="editType === 'each'">
<a-table :data="accountGroupList" :pagination="false" row-key="id" class="w-100%">
<a-table :data="accountGroupList" :pagination="false" row-key="id" class="w-100%" column-resizable>
<template #columns>
<a-table-column title="账号名称" data-index="name" width="200">
<template #cell="{ record }">

View File

@ -47,7 +47,7 @@
<!-- 分别编辑 -->
<template v-if="editType === 'each'">
<a-table :data="accountTagList" :pagination="false" row-key="id" class="w-100%">
<a-table :data="accountTagList" :pagination="false" row-key="id" class="w-100%" column-resizable>
<template #columns>
<a-table-column title="账号名称" data-index="name" width="200">
<template #cell="{ record }">

View File

@ -32,6 +32,7 @@
</div>
<a-table
column-resizable
:columns="columns"
:data="list"
row-key="id"