style: 调整对话框默认可拖拽,表格默认可调整列宽

This commit is contained in:
2024-05-30 21:43:52 +08:00
parent 4372103704
commit 5581d3fd89
13 changed files with 13 additions and 3 deletions

View File

@@ -70,7 +70,7 @@
</a-row>
<div class="gi-table__body" :class="`gi-table__body-pagination-${attrs['page-position']}`">
<div class="gi-table__container">
<a-table ref="tableRef" :stripe="stripe" :size="size" :bordered="{ cell: isBordered }"
<a-table ref="tableRef" :stripe="stripe" :size="size" column-resizable :bordered="{ cell: isBordered }"
v-bind="{ ...attrs, columns: _columns }" :scrollbar="false" :pagination="false">
<template v-for="key in Object.keys(slots)" :key="key" #[key]="scoped">
<slot :key="key" :name="key" v-bind="scoped"></slot>