2 个回答

首先多选框跟当前行的某个数据进行绑定,比如checked

给宽度这一列写个自定义的渲染逻辑。

<template slot-scope="scope">
  <el-input v-if="scope.row.checked" v-Model="scope.row.width" />
  <span v-else>{{scope.row.width}}</span>
</template>

看文档 ,resizable ,把Table-column 写到计算属性里面 ,判断下多选框的v-modal

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题