沈丘营商办后台前端项目
wjt
2024-08-15 8cdb97cc8deb54a10daa4ead830d94b7994a22f6
修改绑定事件
1个文件已修改
3 ■■■■ 已修改文件
src/views/infomanger/companymanger/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/infomanger/companymanger/index.vue
@@ -57,7 +57,7 @@
      row-key="companyId"
      :default-expand-all="isExpandAll"
      :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
      @select="handleSelectionChange"
      @selection-change="handleSelectionChange"
     >
      <el-table-column type="selection" width="55" :reserve-selection="true"/>
      <el-table-column  prop="companyName" label="企业名称" minWidth="300"></el-table-column>
@@ -366,6 +366,7 @@
  }, "企业图片.zip")
}
function handleSelectionChange(e) {
  console.log(e)
  valueArr = e.map(item => item.companyId)
}
getList();