el-table vxe-table 表格宽度拖拽

<vxe-table
ref="table"
v-loading="listLoading"
:data="tableData"
border
stripe
:height="tableHeight"
:seq-config="{seqMethod}"
@resizable-change="resizableChange"
>
resizableChange({ resizeWidth, column }) {
const one = this.tableObj.baselistcolumnList.find(el => { return el.strfield === column.property })
if (one) {
one.intwidth = resizeWidth
this.listStyle()
}
},
<el-table
ref="table"
v-loading="importLoading"
:data="mainForm.ceCapitalpaymentdetailList"
border
stripe
class="tb-edit"
:header-cell-class-name="headerIconEdit"
@header-dragend="dragendEvent"
>
dragendEvent(newWidth, oldWidth, column) {
const one = this.tableObj.baselistcolumnList.find(el => { return el.strfield === column.property })
if (one) {
one.intwidth = newWidth
this.listStyle()
}
},

相关推荐
小村儿7 小时前
Harness Engineering:为什么你用 AI 越用越累?
前端·后端·ai编程
enoughisenough7 小时前
浏览器判断控制台是否开启
前端
Moment7 小时前
当前端开始做 Agent 后,我才知道 LangGraph 有多重要❗❗❗
前端·后端·面试
竹林8187 小时前
RainbowKit 快速集成多链钱包连接:从“连不上”到丝滑切换的踩坑实录
前端·javascript
小蜜蜂dry7 小时前
nestjs实战-登录、鉴权(一)
前端·后端·nestjs
农夫山泉不太甜7 小时前
WebSocket与SSE技术方案选型对比分析
前端
重阳微噪8 小时前
受够了空格翻页?我写了一个 Chrome 自动滚动插件,让你真正沉浸式阅读
前端
Ruihong8 小时前
你的 Vue 3 reactive(),VuReact 会编译成什么样的 React?
vue.js·面试
Awu12278 小时前
🍎用 pretext 搞定输入框动态宽度:一个困扰了我三天的 CSS 问题
前端
Ruihong8 小时前
你的 Vue 3 ref(),VuReact 会编译成什么样的 React?
vue.js·面试