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();